SMAHA04020_예약접수[채용건진].xrw 118 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. * 제 목 : SMAHA00600.xrw
  4. * 설 명 : 채용건진예약/접수
  5. * 설 계 자 : 손주연
  6. * 작 성 자 : 손주연
  7. * 작 성 일 : 2007.06.13
  8. * 수정이력 : 김두환 2009년02월17일 수정
  9. * 기 타 :
  10. -->
  11. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  12. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  13. <xhtml:head>
  14. <xhtml:title>채용건진등록</xhtml:title>
  15. <model id="model1">
  16. <instance id="instance1">
  17. <root xmlns="">
  18. <main>
  19. <list>
  20. <rsrvlst>
  21. <hopedd/>
  22. <pid/>
  23. <engnm/>
  24. <pnm/>
  25. <brthareacnts/>
  26. <pkgcd/>
  27. <pkgnm/>
  28. <rgstno1/>
  29. <rgstno2/>
  30. <sexage/>
  31. <statflag/>
  32. <rsrvdd/>
  33. <rsrvno/>
  34. <rcptstat/>
  35. <visano/>
  36. <totamt/>
  37. <cmpynm/>
  38. <rsrvdttm/>
  39. <lastupdtrid/>
  40. <lastupdtdt/>
  41. </rsrvlst>
  42. <reexlst>
  43. <hopedd/>
  44. <pid/>
  45. <engnm/>
  46. <pnm/>
  47. <brthareacnts/>
  48. <pkgcd/>
  49. <pkgnm/>
  50. <rgstno1/>
  51. <rgstno2/>
  52. <sexage/>
  53. <statflag/>
  54. <rsrvdd/>
  55. <rsrvno/>
  56. <rcptstat/>
  57. <visano/>
  58. <totamt/>
  59. <cmpynm/>
  60. <rsrvdttm/>
  61. <lastupdtrid/>
  62. <lastupdtdt/>
  63. </reexlst>
  64. <acptlst>
  65. <orddd/>
  66. <pid/>
  67. <visano/>
  68. <engnm/>
  69. <pnm/>
  70. <brthareacnts/>
  71. <pkgcd/>
  72. <pkgnm/>
  73. <rgstno1/>
  74. <rgstno2/>
  75. <sexage/>
  76. <rcptstat/>
  77. <rsrvdd/>
  78. <rsrvno/>
  79. <statflag/>
  80. <acptflag/>
  81. <cmpynm/>
  82. <acptdttm/>
  83. <lastupdtrid/>
  84. <lastupdtdt/>
  85. </acptlst>
  86. <cncllst>
  87. <cncldd/>
  88. <pid/>
  89. <engnm/>
  90. <brthareacnts/>
  91. <pkgcd/>
  92. <pkgnm/>
  93. <rgstno1/>
  94. <rgstno2/>
  95. <sexage/>
  96. <rsrvdd/>
  97. <rsrvno/>
  98. <statflag/>
  99. <rcptstat/>
  100. <visano/>
  101. <pnm/>
  102. <cmpynm/>
  103. <cncldttm/>
  104. <lastupdtrid/>
  105. <lastupdtdt/>
  106. </cncllst>
  107. <listinfo>
  108. <acptcnt/>
  109. <rsrvcnt/>
  110. <rcptcnt/>
  111. <cnclcnt/>
  112. <holdcnt/>
  113. <failcnt/>
  114. <outcnt/>
  115. </listinfo>
  116. </list>
  117. <info>
  118. <patinfo>
  119. <item>
  120. <pid/>
  121. <rgstno1/>
  122. <rgstno2/>
  123. <hngnm/>
  124. <engnm/>
  125. <brthareacnts/>
  126. <sex/>
  127. <age/>
  128. <brthdd/>
  129. <zipcd11/>
  130. <zipcd12/>
  131. <zipcdseq1/>
  132. <addr1/>
  133. <detladdr1/>
  134. <mpphon/>
  135. <telno/>
  136. <emailid/>
  137. <emailtype/>
  138. <healexampid/>
  139. <emailkind/>
  140. <zipcd21/>
  141. <zipcd22/>
  142. <zipcdseq2/>
  143. <addr2/>
  144. <detladdr2/>
  145. <psptno/>
  146. <pidcretfg/>
  147. <insuid/>
  148. <hopedd/>
  149. <detladdr2/>
  150. <clntgrde/>
  151. <patremcnts/>
  152. <notice/>
  153. <forgneryn>N</forgneryn>
  154. </item>
  155. </patinfo>
  156. <rsrvacptinfo>
  157. <item>
  158. <cmpyflag>N</cmpyflag>
  159. <orddd/>
  160. <rsrvdd/>
  161. <hopedd/>
  162. <rsrvtm/>
  163. <rsrvflag>01</rsrvflag>
  164. <rsltcnstflag>02</rsltcnstflag>
  165. <rsltcnstrsrvdd/>
  166. <rsrvguidsendyn/>
  167. <rsrvguidsenddd/>
  168. <insucorpbrchcd/>
  169. <insucorpbrchnm/>
  170. <insuid/>
  171. <disccd/>
  172. <discremark/>
  173. <emprelacd/>
  174. <empid/>
  175. <empnm/>
  176. <recmempid/>
  177. <recmempnm/>
  178. <famypid/>
  179. <famypnm/>
  180. <famyrelacd/>
  181. <deptcd/>
  182. <deptnm/>
  183. <clntgrde/>
  184. <clntempid/>
  185. <jobposcd/>
  186. <remcnts/>
  187. <pkgcd/>
  188. <pkgnm/>
  189. <latestpkginfo/>
  190. <choiflag>01</choiflag>
  191. <cmpycd/>
  192. <conseq/>
  193. <mode/>
  194. <status/>
  195. <healexamflag/>
  196. <healexamdetlflag/>
  197. <entcodd/>
  198. <rsltcnststatflag/>
  199. <dietcnstyn/>
  200. <orgexamdt/>
  201. <bizoffccd/>
  202. <jobkindflag/>
  203. <pkguncocd/>
  204. <rsltcnstrsrvtm/>
  205. <cmpynm/>
  206. <visaflag/>
  207. <famylst/>
  208. <visano/>
  209. <rsltcnstdrid/>
  210. <brthareacnts/>
  211. <acpt_insuid/>
  212. <acpt_insukind/>
  213. <discremcnts/>
  214. <conhistseq/>
  215. <statflag/>
  216. <rsltcnststatflag/>
  217. <rsltcnstrsrvdd/>
  218. <orddeptcd/>
  219. <orddrid/>
  220. <ordtm/>
  221. <cretno/>
  222. <acptseqno/>
  223. <acpt_insucd/>
  224. <pkgamt/>
  225. <rsrvno/>
  226. <rsltcnstdrid/>
  227. <healexamplacecd/>
  228. <dcamt/>
  229. <adddcamt/>
  230. <clntcmpynm/>
  231. <clntdeptnm/>
  232. </item>
  233. <addlst>
  234. <sel/>
  235. <testflag/>
  236. <testcd/>
  237. <testnm/>
  238. <uncocd/>
  239. <scoreamt/>
  240. <prcptims/>
  241. <discamt/>
  242. <examseq/>
  243. <calcscorcd/>
  244. <prcpno/>
  245. <prcpdd/>
  246. <m/>
  247. <grupflag/>
  248. <addtotamt/>
  249. </addlst>
  250. <pkglst>
  251. <sel/>
  252. <pkgflag/>
  253. <pkgcd/>
  254. </pkglst>
  255. </rsrvacptinfo>
  256. <histlst>
  257. <item>
  258. <orddd/>
  259. <pkgcd/>
  260. <pkgnm/>
  261. <rsrvdd/>
  262. <rsrvno/>
  263. <lastupdtrid/>
  264. <lastupdtdt/>
  265. <cmpyflag/>
  266. <visano/>
  267. <remcnts/>
  268. </item>
  269. </histlst>
  270. <curlst>
  271. <item>
  272. <hopedd/>
  273. <rsrvtm/>
  274. <orddd/>
  275. <testcd/>
  276. <testnm/>
  277. <testroomcd/>
  278. <statflag/>
  279. <lastupdtrid/>
  280. <lastupdtdt/>
  281. </item>
  282. </curlst>
  283. <rcptinfo>
  284. <pkgamt/>
  285. <cmpyaddamt/>
  286. <subtotamt/>
  287. <preamt/>
  288. <discamt/>
  289. <uncoamt/>
  290. <realamt/>
  291. <ownbamt/>
  292. <preamt2/>
  293. <totprercptamt/>
  294. <psnaddamt/>
  295. </rcptinfo>
  296. <visalst>
  297. <item>
  298. <visano/>
  299. </item>
  300. </visalst>
  301. <pkgdetl>
  302. <item>
  303. <cdnm/>
  304. <pkgcd/>
  305. <spcnm/>
  306. <testnm/>
  307. <stndval/>
  308. <padd/>
  309. </item>
  310. </pkgdetl>
  311. <taginfo>
  312. <rtime/>
  313. <tagno/>
  314. <suppstat/>
  315. </taginfo>
  316. <rsltcnstinfo>
  317. <choicnst>
  318. <rsltcnstflag/>
  319. <rsltrsrvid/>
  320. </choicnst>
  321. <cnstlst>
  322. <cnst/>
  323. </cnstlst>
  324. </rsltcnstinfo>
  325. </info>
  326. <sum/>
  327. <seqprntdata/>
  328. <visaphot>
  329. <attachfile>
  330. <image/>
  331. </attachfile>
  332. </visaphot>
  333. </main>
  334. <send>
  335. <srchhealexamdetlflag/>
  336. <srchfromdd/>
  337. <srchtodd/>
  338. <srchpid/>
  339. <srchpnm/>
  340. <srchinstcd/>
  341. <srchhealexamflag/>
  342. <clscd/>
  343. <etccd/>
  344. <save/>
  345. <srchpnm2/>
  346. <srchpid2/>
  347. <srchrsrvdd/>
  348. <srchrsrvno/>
  349. <srchjobflag/>
  350. <savercpt>
  351. <opmi_out/>
  352. </savercpt>
  353. <srchlst>
  354. <srchfamypid/>
  355. <srchfamyinstcd/>
  356. <srchfamyhealexamflag/>
  357. </srchlst>
  358. <visanosrch>
  359. <genrdd/>
  360. <genrkind/>
  361. <instcd/>
  362. </visanosrch>
  363. <srchvisano/>
  364. <srcocmlflag/>
  365. <srchmode>4</srchmode>
  366. <srchhealexampid/>
  367. <srchrgstno1/>
  368. <srchrgstno2/>
  369. <srchcond/>
  370. <srchpkgcd/>
  371. <srchcmpycd/>
  372. <srchconseq/>
  373. <srchsex/>
  374. <savercpt>
  375. <opmi_out/>
  376. </savercpt>
  377. <savercpt>
  378. <opmi_out/>
  379. </savercpt>
  380. <rrgstno/>
  381. <taginfo/>
  382. <srchtagno/>
  383. <savetemprsrv/>
  384. <attach>
  385. <file/>
  386. </attach>
  387. <visaphotpath/>
  388. <srchapntprint/>
  389. <srchtagno/>
  390. <srchhealexamplacecd/>
  391. </send>
  392. <init>
  393. <baseinfo>
  394. <pamcdlst>
  395. </pamcdlst>
  396. <hedetlflaglst/>
  397. <detlcodelst/>
  398. <testflag/>
  399. <natiinlst/>
  400. <relacdlst/>
  401. <heflaglst/>
  402. <rsltlst/>
  403. <uncocdlst>
  404. </uncocdlst>
  405. <clntgrdlst/>
  406. <rsrvflaglst/>
  407. <rsltcnstflaglst/>
  408. <choiflaglst/>
  409. <emaillst/>
  410. <statlst/>
  411. <healexamplacelst/>
  412. <cmpydetlcdlst>
  413. <deptlst/>
  414. </cmpydetlcdlst>
  415. <apntprintlst/>
  416. </baseinfo>
  417. <srchmode>4</srchmode>
  418. <place>
  419. <healexamplacecd/>
  420. </place>
  421. </init>
  422. <hidden>
  423. <tlst/>
  424. <item/>
  425. </hidden>
  426. <temp>
  427. <templst/>
  428. <rcptinfo>
  429. <hidden/>
  430. </rcptinfo>
  431. <rcptno_out/>
  432. <emailtype/>
  433. <pkgtestcdlst/>
  434. <rsrvacptkey/>
  435. <colgpkgchoiyn>
  436. <item>
  437. <existyn/>
  438. </item>
  439. </colgpkgchoiyn>
  440. <temp>
  441. <psnworkinfo/>
  442. </temp>
  443. <rcptCheck/>
  444. <discamt/>
  445. <rsrvstate/>
  446. <sytsrsrvchk/>
  447. <priceamt/>
  448. </temp>
  449. <tmp>
  450. <testcount/>
  451. </tmp>
  452. <source>
  453. <selflag/>
  454. <srchcond/>
  455. <srchpkgflag/>
  456. <srchcdnm/>
  457. <srchhealexamflag/>
  458. <srchhealexamdetlflag/>
  459. <srchinstcd/>
  460. <multiyn/>
  461. <openerid/>
  462. <sex/>
  463. <setflag/>
  464. </source>
  465. <tag/>
  466. <image>
  467. <attachfile>
  468. <image/>
  469. </attachfile>
  470. </image>
  471. </root>
  472. </instance>
  473. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  474. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  475. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  476. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  477. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  478. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  479. <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA.js"/>
  480. <script type="javascript" src="../../../ast/healthexamrsrvacptweb/js/AHA010.js"/>
  481. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  482. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  483. <script type="javascript" src="../../../ast/healthexambaseweb/js/healcombolist.js"/>
  484. <script type="javascript" ev:event="xforms-ready">
  485. <![CDATA[
  486. fGetBaseInfo();
  487. fInitInfo();
  488. fInitDate(true);
  489. fInitList();
  490. model.toggle("case_acpt");
  491. fSetBtnStat();
  492. fGetList();
  493. //btn_acpt.disabled = true;
  494. model.refresh();
  495. ]]>
  496. </script>
  497. <submission id="TRAHA00001"/>
  498. <submission id="TRAHA00002"/>
  499. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  500. <submission id="TRPMC03802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/result"/>
  501. <submission id="TRAHA00013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/test" replace="instance" resultref="/root/tmp"/>
  502. <submission id="TRAHA04011" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/patinfo"/>
  503. <submission id="TRAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/pamcdlst"/>
  504. <submission id="TRAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/info/histlst"/>
  505. <submission id="TRAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/pkgtestcdlst"/>
  506. <submission id="TRAHA00108" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/cmpydetlcdlst"/>
  507. <submission id="TRAHA00111" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rsrvacptkey"/>
  508. <submission id="TRAHA00113" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/info/pkgdetl"/>
  509. <submission id="TRAHA00116" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/sytsrsrvchk"/>
  510. <submission id="TRAHA04013" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/list"/>
  511. <submission id="TRAHA00509" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/priceamt" replace="instance" resultref="/root/temp/priceamt"/>
  512. <submission id="TRAHA00601" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/srchlst" replace="instance" resultref="/root/main/info/rsrvacptinfo/familylst"/>
  513. <submission id="TRAHA00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
  514. <submission id="TRAHA00603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/familylst" replace="instance" resultref="/root/hidden/tlst"/>
  515. <submission id="TRAHA00604" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/patinfo"/>
  516. <submission id="TRAHA00610" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/visanosrch" replace="instance" resultref="/root/main/info/visalst/item"/>
  517. <submission id="TRAHA04017" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/imgbinary"/>
  518. <submission id="TRAHA02105" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptno_out"/>
  519. <submission id="TRAHB00602" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/init/baseinfo/detlcodelst"/>
  520. <submission id="TXAHA00104" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save/rsltsave" replace="instance" resultref="/root/hidden"/>
  521. <submission id="TXAHA04027" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  522. <submission id="TXAHA04028" mediatype="multipart/form-data" method="form-data-post" ref="/root/send" replace="instance" resultref="/root/tmp"/>
  523. <submission id="TXAHA04029" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/sendcmts" replace="instance" resultref="/root/tmp"/>
  524. <submission id="TXAHA00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
  525. <submission id="TXAHA00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/tmp"/>
  526. <submission id="TXAHA00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" replace="instance" resultref="/root/tmp"/>
  527. <submission id="TXAHA00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/tmp" replace="instance" resultref="/root/hidden"/>
  528. <submission id="TXAHA00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/temp/temprsrv"/>
  529. <submission id="TXAHA00903" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" add="bottom" resultref="/root/main/info/rcptinfo"/>
  530. <submission id="TXAHA02101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  531. <submission id="TXAHA02102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/rcptinfo/hidden"/>
  532. <submission id="TRAHA00402" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/seqprntdata"/>
  533. <submission id="TXAHA00109" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/taginfo" resultref="/root/tag"/>
  534. <submission id="TRAHA00114" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/tag"/>
  535. <bind id="bind_addtestcd" ref="/root/main/info/acptinfo/addlst/testcd" readonly="../testcdkey!=''"/>
  536. <bind id="bind1" ref="/root/main/list/rsrvlst/statflag"/>
  537. <submission id="TRAHA04012" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/temp/info"/>
  538. </model>
  539. <script type="javascript">
  540. <![CDATA[
  541. function fGetBaseInfo(){
  542. // 건진상세구분
  543. var healexamfg = fGetHealExamFlag();
  544. zbcfGetCodeList( new Array( "A0070" , "A0117","A0465","P0049","A0107"),
  545. new Array("/root/init/baseinfo/hedetlflaglst"
  546. ,"/root/init/baseinfo/testflag"
  547. ,"/root/init/baseinfo/natiinlst"
  548. ,"/root/init/baseinfo/rsltlst"
  549. , "/root/init/baseinfo/statlst"
  550. ) );
  551. submit("TRZBC00101");
  552. healGetCodeList( new Array("S600","R003")
  553. , new Array("/root/init/baseinfo/healexamplacelst"
  554. , "/root/init/baseinfo/apntprintlst") );
  555. healGetCodeListSubmit( new Array("S080")
  556. , new Array("/root/init/baseinfo/rsltcnstflaglst"), false);
  557. model.removenode("/root/init/baseinfo/healexamplacelst/S600[1]");
  558. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  559. submit("TRAHA00104");
  560. //채용건진 분류코드 Setting
  561. model.setValue("/root/send/clscd", "G" );
  562. model.setValue("/root/send/etccd", "G15");
  563. if( submit("TRAHB00602") == true ){
  564. var nodelst = instance1.selectNodes("/root/init/baseinfo/detlcodelst/item");
  565. if( nodelst.length == 1) {
  566. cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item/etcitemcnts");
  567. }
  568. else if( nodelst.length > 1){
  569. for( var i = 0 ; i < nodelst.length ; i++) {
  570. if( "Y" == model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/useyn") ) {
  571. cmb_srchhealexamdetlflag.value = model.getValue("/root/init/baseinfo/detlcodelst/item[" + i + "]/etcitemcnts");
  572. break;
  573. }
  574. }
  575. }
  576. cmb_healexamdetlflag.value = cmb_srchhealexamdetlflag.value;
  577. }
  578. cmb_healexamdetlflag.refresh();
  579. //cmb_forgneryn.refresh();
  580. }
  581. /**
  582. * 리스트내역 초기화
  583. */
  584. function fInitList( ){
  585. model.removeNodeset("/root/main/list/rsrvlst");
  586. model.removeNodeset("/root/main/list/acptlst");
  587. model.removeNodeset("/root/main/list/cncllst");
  588. model.resetInstanceNode("/root/main/list/listinfo");
  589. model.removeNodeset(grd_addlst.nodeset);
  590. }
  591. /** ==============================================================================================================================================================
  592. * 결과상담을 등록하는 팝업화면을 띄운다.
  593. *SPAHA00100_PARAM1 : 건진구분
  594. *SPAHA00100_PARAM2 : 건진상세구분
  595. *SPAHA00100_PARAM3 : opener 선택노드 xPath
  596. *SPAHA00100_PARAM4 : opener 결과노드셋 xPath
  597. ==================================================================================================================================================================*/
  598. function fGetRsltRsrvDateTime(vFlag) {
  599. var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  600. var sHealexamFlag = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
  601. var sOutExamYN = "N";
  602. model.makeValue("/root/main/info/rsltcnstinfo/choicnst/outexamyn",sOutExamYN);
  603. var sIdx = cmb_rsltcnstlst.focusIndex;
  604. var nodeIdx = sIdx + 1;
  605. var rsltRsrvList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst");
  606. var rsltRsrvSaveYN = "";
  607. var m = "";
  608. var vHealExamFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag") == "" ? fGetHealExamFlag() : model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
  609. var vRsrvdd = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
  610. var vRsrvno = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
  611. // 공통코드의 비고[ Y인경인 결과상담 시간을 관리 N 경우 시간을 관리 하지 않음]
  612. var cmt = model.getValue("/root/init/baseinfo/rsltcnstflaglst/S080[" + (cmb_rsltcnstflag.focusIndex + 1) + "]/cmt")
  613. if( (vHealExamFg == "") || (vRsrvdd == "") || (vRsrvno == "") || (vRsrvno == "0") ) {
  614. messageBox("대상자를" , "C002");
  615. return;
  616. }
  617. if(vFlag == "d") {
  618. // 삭제 시 저장 않 되었을 경우 그냥 삭제한다.
  619. // 저장된 내역일 경우에는 상담완료여부 및 지난간 일자인지 체크한다.
  620. rsltRsrvSaveYN = rsltRsrvList.item(sIdx).rsltrsrvsaveyn.text;
  621. m = rsltRsrvList.item(sIdx).m.text;
  622. if(rsltRsrvSaveYN == "N" && m == "i") {
  623. model.removenode("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx+ "]");
  624. cmb_rsltcnstlst.refresh();
  625. cmb_rsltcnstlst.select(0);
  626. return;
  627. }else if(rsltRsrvSaveYN == "Y") {
  628. var rsltCnstEndYN = rsltRsrvList.item(sIdx).rsltcnstendyn.text;
  629. var rsltCnstDD = rsltRsrvList.item(sIdx).rsltcnstdd.text;
  630. var rsltCnstRsrvEndtm = rsltRsrvList.item(sIdx).rsltcnstrsrvendtm.text;
  631. if(cmt == "Y") {
  632. if(rsltCnstEndYN == "Y") {
  633. messageBox("상담완료이" , "I002");
  634. return;
  635. }
  636. }
  637. model.setValue("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx + "]/m" ,vFlag);
  638. model.setValue("/root/main/info/rsltcnstinfo/cnstlst/cnst[" + nodeIdx + "]/rsltrsrvsaveyn" ,"N");
  639. }
  640. }else if( vFlag == "i") {
  641. // 한번에 한번씩 예약가능
  642. if(instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[m='i' or m='d']" ).length > 0) {
  643. messageBox("저장 후 상담예약" , "I006" );
  644. return;
  645. }
  646. // 내부검사는 1회로 제한
  647. if(sOutExamYN == "N") {
  648. var outExamNodeList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[outexamyn='" + sOutExamYN + "' and m !='-'] " );
  649. if(outExamNodeList.length > 0) {
  650. messageBox("내부검사는 1회 등록" , "I006" );
  651. return;
  652. }
  653. if(cmb_rsltcnstflag.value == "") {
  654. messageBox("결과상담 구분을" , "C002" );
  655. return;
  656. }
  657. }
  658. if(cmt == "Y" || sOutExamYN == "Y") {
  659. setParameter ("SPAHA00110_PARAM1", sHealexamFlag == "" ? fGetHealExamFlag() : sHealexamFlag);
  660. setParameter ("SPAHA00110_PARAM2", cmb_healexamdetlflag.value);
  661. setParameter ("SPAHA00110_PARAM3", "/root/main/info/rsltcnstinfo/choicnst");
  662. setParameter ("SPAHA00110_PARAM4", "/root/main/info/rsltcnstinfo/cnstlst/cnst");
  663. modal("SPAHA00110");
  664. }else if(cmt == "N") {
  665. var cnt = parseInt(getNodesetCount("/root/main/info/rsltcnstinfo/cnstlst/cnst")) + 1;
  666. // 기존 인스턴스 순서에 맞추어서 생성해야 함
  667. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstseqno" , 0);
  668. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/outexamyn" , "N");
  669. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstflag" , model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstflag"));
  670. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstdd" , "");
  671. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstrsrvstarttm" , "");
  672. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstrsrvendtm" , "");
  673. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/ownyn" , "");
  674. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/visitor" , "");
  675. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstdr" , "");
  676. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/visittm" , "");
  677. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnststarttm" , "");
  678. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstendtm" , "");
  679. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstendyn" , "N");
  680. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnsthistcd" , "O");
  681. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltcnstremcnts" , model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstremcnts"));
  682. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/spcffact" , "");
  683. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvid" , "----");
  684. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvnm" , cmb_rsltcnstflag.label);
  685. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/rsltrsrvsaveyn" , "N");
  686. model.makeValue("/root/main/info/rsltcnstinfo/cnstlst/cnst["+ cnt + "]/m" , "i");
  687. }
  688. }
  689. }
  690. /*********************************************************
  691. **************가족조회하는 함수***************************
  692. *********************************************************/
  693. function fSrchFamily(){
  694. //등록번호가 들어가야 한다는 에러문
  695. if(ipt_famypid.currentText==""){
  696. messageBox("가족의 등록번호를 입력하셔야 합니다.","C001");
  697. return;
  698. }
  699. //이름이 들어가야 한다는 에러문
  700. if (opt_famypnm.currentText==""){
  701. messageBox("가족의 이름이 등록돼지 않았슴","C001");
  702. return;
  703. }
  704. //가족관계를 입력해야 한다는 에러문
  705. if(cmb_famyrelacd.label=="" && cmb_famyrelacd.value==""){
  706. messageBox("가족관계를 입력하셔야 해요","C001");
  707. return;
  708. }
  709. //바로 행 삽입
  710. grd_family.addRow();
  711. var vgrd_family_row=grd_family.row;
  712. grd_family.valueMatrix(vgrd_family_row,1)="N";
  713. grd_family.valueMatrix(vgrd_family_row,2)=ipt_pid.currentText;
  714. grd_family.valueMatrix(vgrd_family_row,3)=ipt_famypid.currentText;
  715. grd_family.valueMatrix(vgrd_family_row,4)=opt_famypnm.currentText;
  716. grd_family.valueMatrix(vgrd_family_row,5)=cmb_famyrelacd.value;
  717. grd_family.valueMatrix(vgrd_family_row,6)=cmb_famyrelacd.label;
  718. model.refresh();
  719. //ipt_famypid
  720. //opt_famypnm
  721. //cmb_famyrelacd
  722. }
  723. /**
  724. * 입력정보 초기화
  725. */
  726. function fInitInfo(){
  727. model.resetInstanceNode("/root/main/info/patinfo/item");
  728. model.resetInstanceNode("/root/main/info/visalst/item");
  729. model.resetInstanceNode("/root/main/info/pkgdetl/item");
  730. model.resetInstanceNode("/root/main/info/histlst/item");
  731. model.resetInstanceNode("/root/main/info/rsrvacptinfo/item");
  732. model.resetInstanceNode("/root/image/attachfile/image");
  733. model.resetInstanceNode("/root/send/attach/file");
  734. // model.setValue("/root/main/info/patinfo/item/forgneryn","");
  735. fInitRsrvAcptInfo();
  736. }
  737. /**
  738. * 접수 정보 초기화
  739. */
  740. function fInitRsrvAcptInfo(){
  741. model.resetInstanceNode("/root/main/info/rcptinfo");
  742. model.resetInstanceNode("/root/main/info/rsrvacptinfo/addlst");
  743. model.resetInstanceNode("/root/main/info/taginfo");
  744. model.resetInstanceNode("/root/main/info/rsltcnstinfo/cnstlst/cnst");
  745. model.resetInstanceNode("/root/main/info/rsltcnstinfo/choicnst");
  746. model.removeNodeset(grd_addlst.nodeset);
  747. fInitDate(false);
  748. model.setValue( cmb_healexamdetlflag.attribute("ref") , cmb_srchhealexamdetlflag.value );
  749. //model.setValue(cmb_pkguncocd.attribute("ref"), "V01" );
  750. model.setFocus("ipt_rgstno1");
  751. //model.makeValue( cmb_forgneryn.attribute("ref"), "N");
  752. model.resetInstanceNode("/root/main/info/taginfo");
  753. model.resetInstanceNode("/root/main/info/rsltcnstinfo/cnstlst/cnst");
  754. model.resetInstanceNode("/root/main/info/rsltcnstinfo/choicnst");
  755. model.makeValue( cmb_rsltcnstflag.attribute("ref"), "");
  756. cmb_rsltcnstflag.disabled = false;
  757. btn_tag.attribute("text") = "태그지급";
  758. ipt_tagno.disabled = false;
  759. btn_rsltcnstrsrv.disabled = false;
  760. cmb_rsltcnstlst.refresh();
  761. cmb_rsltcnstlst.select(0);
  762. rdo_healexamplacecd.refresh();
  763. if(rdo_healexamplacecd.value != "" ) {
  764. rdo_healexamplacecd.dispatch("xforms-select"); // 건진장소 default 셋팅
  765. }else {
  766. var sFlag=fGetHealExamPlaceFlag();
  767. if (sFlag == "G" ) {
  768. rdo_healexamplacecd.select(0);
  769. } else {
  770. rdo_healexamplacecd.select(1);
  771. }
  772. }
  773. }
  774. /**
  775. * 일자내역 초기화
  776. *bSrchDt : 조회일자초기화여부
  777. */
  778. function fInitDate(bSrchDt){
  779. var cur_date = getCurrentDate();
  780. if(model.getValue(ipt_orddd.attribute("ref")) == "")
  781. {
  782. model.setValue( ipt_orddd.attribute("ref") , cur_date);
  783. }
  784. model.setValue( ipt_rsrvdd.attribute("ref") , cur_date);
  785. //out_engnm.value = ipt_engnm.value;
  786. if( bSrchDt ) {
  787. model.setValue( ipt_srchtodd.attribute("ref") , cur_date);
  788. model.setValue( ipt_srchfromdd.attribute("ref") , cur_date);
  789. }
  790. }
  791. /**
  792. * 버튼상태 setting
  793. */
  794. function fSetBtnStat(){
  795. btn_rcpt.disabled = false;
  796. btn_rsrvcfm1.disabled = true;
  797. btn_rsrvcfm2.disabled = true;
  798. btn_acpt.disabled = true;
  799. btn_acptcncl.disabled = true;
  800. btn_rsrvcncl.disabled = true;
  801. var vStat = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  802. //if(isXPathTextNull("/root/main/info/rsrvacptinfo/item/statflag") ) return ;
  803. //alert( vStat );
  804. if ( vStat == "C" ){
  805. btn_rsrvcfm1.disabled = false;
  806. btn_rsrvcfm2.disabled = false;
  807. btn_rsrvcncl.disabled = false;
  808. btn_acpt.disabled = false;
  809. }
  810. else
  811. if( vStat == "D"){
  812. btn_rsrvcfm1.disabled = false;
  813. btn_rsrvcfm2.disabled = false;
  814. btn_acpt.disabled = false;
  815. }
  816. else
  817. if( vStat == "E" ){
  818. btn_acptcncl.disabled = false;
  819. btn_acpt.disabled = true;
  820. }
  821. else
  822. if( vStat == "F" ){
  823. btn_rsrvcfm1.disabled = false;
  824. btn_rsrvcfm2.disabled = false;
  825. btn_acptcncl.disabled = true;
  826. btn_acpt.disabled = true;
  827. }
  828. else
  829. if( vStat == "G" ){
  830. btn_acptcncl.disabled = true;
  831. btn_acpt.disabled = true;
  832. }
  833. else {
  834. btn_rsrvcfm1.disabled = false;
  835. btn_rsrvcfm2.disabled = false;
  836. btn_acpt.disabled = false;
  837. }
  838. model.refresh();
  839. }
  840. /**
  841. * 예약/예약등록/접수/취소/보류 리스트 조회
  842. * 예약등록의 경우 예약등록일자 기준.
  843. * 예약등록일 = 가예약 + 예약
  844. * 예약 = 예약
  845. */
  846. function fGetList(){
  847. fInitList();
  848. if( isXPathTextNull( "/root/send/srchhealexamdetlflag") ||
  849. isXPathTextNull( "/root/send/srchtodd") ||
  850. isXPathTextNull( "/root/send/srchfromdd")) return ;
  851. model.setValue("/root/send/srchhealexamflag", fGetHealExamFlag());
  852. var vMode = fGetSrchMode();
  853. model.setValue("/root/send/srchmode", vMode );
  854. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd") );
  855. openLoadingBar("건진자 리스트를 가져오는 중입니다..") ;//처리중 화면을 오픈한다.
  856. submit("TRAHA04013");
  857. closeLoadingBar() ;//처리중 화면을 close한다.
  858. }
  859. /**
  860. ** 예약구분/상담예약일자 저장
  861. */ function fSaveRsrvInfo(){
  862. if( messageBox("건진예약정보를 ", "Q002") != 6 ) return ;
  863. var vHealExamFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag") == "" ? fGetHealExamFlag() : model.getValue("/root/main/info/rsrvacptinfo/item/healexamflag");
  864. var vRsrvdd = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
  865. var vRsrvno = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
  866. var vHealExamDetlFg = model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag");
  867. var vCretno = model.getValue("/root/main/info/rsrvacptinfo/item/cretno");
  868. var vRsltcnstremcnts = model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltcnstremcnts");
  869. var nodeList = null;
  870. if( (vHealExamFg == "") || (vRsrvdd == "") || (vRsrvno == "") || (vRsrvno == "0") ) {
  871. messageBox("건진내역을 저장", "E001");
  872. return ;
  873. }
  874. nodeList = instance1.selectNodes("/root/main/info/rsltcnstinfo/cnstlst/cnst[rsltrsrvsaveyn='N']");
  875. if(nodeList.length < 1 ) {
  876. messageBox("결과상담내역이 ", "I004");
  877. return ;
  878. }
  879. var rCSV = getNodeListCSV(nodeList);
  880. model.makeNode("/root/send/save/rsltsave");
  881. model.resetInstanceNode("/root/send/save/rsltsave");
  882. model.makeValue("/root/send/save/rsltsave/healexamflag" , vHealExamFg);
  883. model.makeValue("/root/send/save/rsltsave/rsrvdd" , vRsrvdd);
  884. model.makeValue("/root/send/save/rsltsave/rsrvno" , vRsrvno);
  885. model.makeValue("/root/send/save/rsltsave/rsltcnstremcnts" , vRsltcnstremcnts);
  886. model.makeValue("/root/send/save/rsltsave/healexamdetlflag" ,vHealExamDetlFg );
  887. model.makeValue("/root/send/save/rsltsave/rsrvdetlflag" ,cmb_healexamdetlflag.value);
  888. model.makeValue("/root/send/save/rsltsave/rsltrsrv" , rCSV);
  889. if( submit("TXAHA00104") == true ){
  890. ahafGetRsrvAcpDetltInfo(vRsrvdd, vRsrvno);
  891. }
  892. }
  893. /** =====================================================================================================================================================================
  894. * SPAHA00100_PARAM1 : 예약조회구분 [건진전체(T), 검사실(R), 상담의별 결과상담(C)]
  895. * SPAHA00100_PARAM2 : 예약일자
  896. * SPAHA00100_PARAM3 : 성별구분(종건예약일정)
  897. * SPAHA00100_PARAM4 : 예약일자가 setting될 부모 node
  898. * SPAHA00100_PARAM5 : 예약시간 setting될 부모 node
  899. * SPAHA00100_PARAM6 : 건진구분
  900. * ================================================================================================================================================*/
  901. function fGetRsrvDateTime(vMode, rsrvddObj, rsrvtmObj){
  902. setParameter ("SPAHA00100_PARAM1", vMode);
  903. setParameter ("SPAHA00100_PARAM2", ipt_rsrvdd.value );
  904. setParameter ("SPAHA00100_PARAM3", opt_sex.value );
  905. if( rsrvddObj != null ) setParameter ("SPAHA00100_PARAM4", rsrvddObj.attribute("ref") );
  906. if( rsrvtmObj != null ) setParameter ("SPAHA00100_PARAM5", rsrvtmObj.attribute("ref") );
  907. setParameter ("SPAHA00100_PARAM6", fGetHealExamFlag() );
  908. setParameter ("SPAHA00100_PARAM7", "/root/main/info/rsrvacptinfo/item/rsltcnstdrid" );
  909. setParameter ("SPAHA00100_PARAM8", cmb_healexamdetlflag.value);
  910. modal("SPAHA00100", "", "", "", "SPAHA00100", "/root/source","/root/target");
  911. }
  912. /**
  913. *1:예약, 2:예약등록, 3:접수, 4: 취소및보류, 5: 예약취소, 6: 접수취소, 7:보류
  914. */
  915. function fGetSrchMode(){
  916. var idx = swt_acptlst.selectedIndex ;
  917. if( idx == 0) {
  918. idx = 3;
  919. }
  920. else if( idx == 1 ){
  921. idx = 1;
  922. }
  923. else if(idx == 2){
  924. return rdo_cnclmode.value ;
  925. }
  926. else if(idx == 3){
  927. idx = 8;
  928. }
  929. return idx;
  930. }
  931. /**
  932. * 예약/접수정보 check.
  933. */
  934. function fCheckAcpt(vMode){
  935. var vRsvdd = "";
  936. var vStatus = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  937. //예약/예약확인/예약보류
  938. if( model.getValue(ipt_pkgcd.attribute("ref") ) == "" ) {
  939. messageBox("패키지를 ", "C001");
  940. model.setFocus("ipt_pkgcd");
  941. return false;
  942. }
  943. // if( model.getValue(cmb_pkguncocd.attribute("ref")) == "" ){
  944. // messageBox("청구구분을 ", "C001");
  945. // model.setFocus("cmb_pkguncocd");
  946. // return false;
  947. // }
  948. if( (vMode == "C") ){
  949. if( !isRequiredGroup("ipt_rsrvdd") ) return false;
  950. vRsvdd = model.getValue("/root/main/info/rsrvacptinfo/item/hopedd");
  951. vRsvdd = vRsvdd.toDate("YYYYMMDD");
  952. if( vRsvdd < getCurrentDate() ){
  953. messageBox("예약일자가 현재일자 전으로 ", "E005");
  954. model.setFocus("ipt_rsrvdd");
  955. return false;
  956. }
  957. }
  958. //접수시
  959. else
  960. if( vMode == "E" ){
  961. if(model.getValue(ipt_orddd.attribute("ref")) == "")
  962. {
  963. model.setValue("/root/main/info/rsrvacptinfo/item/orddd", getCurrentDate());
  964. }
  965. }
  966. //예약및접수취소시(D,F)
  967. else
  968. if( vMode == "D" ){
  969. if( vStatus != "C" ){
  970. messageBox("예약상태가 아닌 항목은 예약취소 ", "E001");
  971. return false;
  972. }
  973. }
  974. else
  975. if( vMode == "F" ){
  976. if( vStatus != "E"){
  977. messageBox("접수상태가 아닌 항목은 접수취소 ", "E001");
  978. return false;
  979. }
  980. }
  981. return true;
  982. }
  983. /**
  984. * 건진내역 계산
  985. 건진구분 :srchhealexamflag
  986. 예약일자 :srchrsrvdd
  987. 예약번호 :srchrsrvno
  988. 등록번호 :srchpid
  989. 기관코드 :srchinstcd
  990. */ function fCalcAmt(vJobFlag){
  991. var ret = -1;
  992. var vTmp = fGetHealExamFlag();
  993. if( vTmp == "" ) return ret;
  994. model.setValue("/root/send/srchhealexamflag", vTmp );
  995. vTmp = model.getValue(ipt_pid.attribute("ref"));
  996. if( vTmp == "" ) return ret;
  997. model.setValue("/root/send/srchpid", vTmp );
  998. vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd");
  999. if( vTmp== "" ) return ret;
  1000. model.setValue("/root/send/srchrsrvdd", vTmp );
  1001. vTmp = model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno");
  1002. if( vTmp == "" ) return ret;
  1003. model.setValue("/root/send/srchrsrvno", vTmp );
  1004. model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
  1005. model.setValue("/root/send/srchjobflag" ,vJobFlag);
  1006. var sNd = "/root/temp/rcptinfo/hidden/opmi_out";
  1007. model.resetInstanceNode(sNd);
  1008. sNd = sNd + "/";
  1009. openLoadingBar("수납예상내역 계산 중입니다..") ;//처리중 화면을 오픈한다.
  1010. if( submit("TXAHA02101") == true ){
  1011. //model.setValue(opt_pkgamt.attribute("ref") , model.getValue( sNd + "opmi_baseexamamt"));
  1012. //model.setValue(opt_addamt.attribute("ref") , model.getValue( sNd + "opmi_addexamamt"));
  1013. //model.setValue(opt_totamt.attribute("ref") , model.getValue( sNd + "opmi_totamt"));
  1014. model.refresh();
  1015. ret = 1;
  1016. }
  1017. closeLoadingBar() ;//처리중 화면을 close한다.
  1018. return ret;
  1019. }
  1020. /**
  1021. **건진자번호로 예약/접수 상세정보
  1022. */
  1023. function fGetDetlInfoHid(){
  1024. var sHealExamPid = model.getValue("/root/main/info/patinfo/item/healexampid");
  1025. if( sHealExamPid != "" ){
  1026. var vHealExamDetlFg = model.getValue(cmb_healexamdetlflag.attribute("ref") );
  1027. ahafGetRsrvAcpDetltInfoWithPid(vHealExamDetlFg, sHealExamPid);
  1028. }
  1029. //인사정보조회
  1030. if( ( model.getValue("/root/main/info/patinfo/item/rgstno1") != "" ) &&
  1031. (model.getValue("/root/main/info/patinfo/item/rgstno2") != "" ) ){
  1032. ipt_pid.disabled = true;
  1033. var rrgstno = model.getValue("/root/main/info/patinfo/item/rgstno1") + model.getValue("/root/main/info/patinfo/item/rgstno2") ;
  1034. var retValue = "";
  1035. model.makeNode("/root/send/discpat");
  1036. retValue = fGetPsnWorkInfo(rrgstno);
  1037. if(retValue != "") {
  1038. var retVal = retValue.split('▦');
  1039. model.makeValue("/root/main/info/rsrvacptinfo/item/empid", retVal[0]);
  1040. model.makeValue("/root/main/info/rsrvacptinfo/item/empnm", retVal[1]);
  1041. model.makeValue("/root/main/info/rsrvacptinfo/item/disccd", retVal[2]);
  1042. model.makeValue("/root/main/info/rsrvacptinfo/item/emprelacd", retVal[8]);
  1043. cmb_disccdlst.dispatch("xforms-select");
  1044. }
  1045. }
  1046. }
  1047. /*********************************************************
  1048. * 원하는 길이만큼 오른쪽으로 문자채움
  1049. *******************************************************/
  1050. function rpad(newValue, len, ch){
  1051. // 오른쪽에 ch문자로 채우기
  1052. var strlen = newValue.getTrim().length;
  1053. var ret = "" ;
  1054. var alen = len - strlen;
  1055. var astr = "";
  1056. //부족한 숫자만큼 len 크기로 ch 문자로 채우기
  1057. for (i=0; i<alen; ++i)
  1058. {
  1059. astr = astr + ch;
  1060. }
  1061. ret = newValue.getTrim() + astr; //뒤에서 채우기
  1062. return ret;
  1063. }
  1064. /****************************************************
  1065. * 가예약자 일괄 취소
  1066. *****************************************************/
  1067. function fDelAllTempRsrv() {
  1068. for(var i=0; i < grd_rsrvlst.rows; i++) {
  1069. var statFlag = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("statflag") );
  1070. if(statFlag == "A") {
  1071. grd_rsrvlst.addStatus( i , "delete");
  1072. }
  1073. }
  1074. model.setValue("/root/send/savetemprsrv" , grd_rsrvlst.getUpdateData());
  1075. var ret = messageBox("가예약일괄 취소를","Q004")
  1076. if(ret == 6) {
  1077. if(submit("TXAHA00114")) {
  1078. fGetList();
  1079. grd_rsrvlst.clearStatus();
  1080. }
  1081. }else if(ret == 7) {
  1082. grd_rsrvlst.clearStatus();
  1083. }
  1084. }
  1085. function fDelTempRsrv() {
  1086. for(var i=0; i < grd_rsrvlst.rows; i++) {
  1087. var statFlag = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("statflag") );
  1088. var rowPid = grd_rsrvlst.valueMatrix( i , grd_rsrvlst.colRef("pid") );
  1089. if(statFlag == "A" && rowPid == model.getValue("/root/main/rsrvacptinfo/item/pid")) {
  1090. grd_rsrvlst.addStatus( i , "delete");
  1091. }
  1092. }
  1093. model.setValue("/root/send/savetemprsrv" , grd_rsrvlst.getUpdateData());
  1094. var ret = messageBox("가예약 취소를","Q004")
  1095. if(ret == 6) {
  1096. if(submit("TXAHA00114")) {
  1097. fGetList();
  1098. grd_rsrvlst.clearStatus();
  1099. }
  1100. }else if(ret == 7) {
  1101. grd_rsrvlst.clearStatus();
  1102. }
  1103. }
  1104. function fPrntSeq(){
  1105. model.setValue("/root/send/srchhealexamflag" , fGetHealExamFlag() ); //건진구분
  1106. model.setValue("/root/send/srchrsrvdd" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd") ); //건진예약등록일자
  1107. model.setValue("/root/send/srchrsrvno" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") ); //건진예약등록번호
  1108. model.setValue("/root/send/srchcmpycd" , model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd" )); //사업체코드
  1109. model.setValue("/root/send/srchconseq" , model.getValue("/root/main/info/rsrvacptinfo/item/conseq" )); //일련번호
  1110. model.setValue("/root/send/srchconseq" , model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq") ); //일련번호
  1111. model.makeValue("/root/send/srchchoiflag" , model.getValue("/root/main/info/rsrvacptinfo/item/choiflag") ); //선택검사
  1112. if( submit("TRAHA00402") == false ) return ;
  1113. model.makeNode("/root/main/seqprntdata/pid");
  1114. model.makeNode("/root/main/seqprntdata/hngnm");
  1115. model.makeNode("/root/main/seqprntdata/sexage");
  1116. model.makeNode("/root/main/seqprntdata/pkgnm");
  1117. model.makeNode("/root/main/seqprntdata/brtdd");
  1118. model.setValue("/root/main/seqprntdata/pid" ,model.getValue(ipt_pid.attribute("ref") ) ); //등록번호
  1119. model.setValue("/root/main/seqprntdata/hngnm" ,model.getValue(ipt_pnm.attribute("ref")) ); //성명
  1120. model.setValue("/root/main/seqprntdata/sexage" ,model.getValue(opt_sex.attribute("ref")) + "/" + model.getValue(opt_age.attribute("ref")) ); //성별,나이
  1121. model.setValue("/root/main/seqprntdata/pkgnm" ,model.getValue(opt_pkgnm.attribute("ref")) ); //패키지명
  1122. model.setValue("/root/main/seqprntdata/brtdd" ,model.getValue(ipt_brthdd.attribute("ref")) ); //생년월일
  1123. model.makeValue("/root/main/seqprntdata/cmpynm" ,model.getValue("/root/main/info/rsrvacptinfo/item/cmpynm")); //회사명
  1124. var nodeList= instance1.selectNodes("/root/main/seqprntdata/item");
  1125. if((nodeList != null) && (nodeList.length >0 )){
  1126. // exeReportPreview("RPAHA00402", "XMLSTR" , "" , "" , "true" , "", "", "", "", "true");
  1127. exeReportPreview("RPAHA00406", "XMLSTR" , "" , "" , "false" , "", "", "", "", "false");
  1128. }
  1129. }
  1130. function RgstnoCheck(){
  1131. var rgstno1 = ipt_rgstno1.currentText;
  1132. var rgstno2 = ipt_rgstno2.currentText;
  1133. var rgstno1 = model.getValue("/root/main/info/patinfo/item/rgstno1").getTrim();
  1134. var rgstno2 = model.getValue("/root/main/info/patinfo/item/rgstno2").getTrim();
  1135. if(rgstno1.length != 6 ){
  1136. messageBox("주민번호 앞6자리 형식오류입니다. 올바른 형태로 입력하십시요!","E999","");
  1137. model.setFocus("ipt_rgstno1");
  1138. return false;
  1139. }else if(rgstno2.length != 7){
  1140. messageBox("주민번호 뒤7자리 형식오류입니다. 올바른 형태로 입력하십시요!","E999","");
  1141. model.setFocus("ipt_rgstno2");
  1142. return false;
  1143. }
  1144. return true;
  1145. }
  1146. ]]>
  1147. </script>
  1148. </xhtml:head>
  1149. <xhtml:body guideline="1,1199;2,785;2,759;">
  1150. <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
  1151. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:210px; height:14px; ">예약/접수</caption>
  1152. </group>
  1153. <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
  1154. <button id="btn_rslt" class="btn3_letter6" style="left:5px; top:4px; width:96px; height:22px; ">
  1155. <caption>통합결과조회</caption>
  1156. <script type="javascript" ev:event="DOMActivate">
  1157. <![CDATA[
  1158. modal("SMAER00800","","","","",ipt_pid.attribute("ref"),"/root/main/info/patinfo/item/pid");
  1159. ]]>
  1160. </script>
  1161. </button>
  1162. <button id="btn_testrsrv" class="btn3_letter6" style="left:110px; top:4px; width:104px; height:22px; ">
  1163. <caption>외래검사예약</caption>
  1164. <script type="javascript" ev:event="onclick">
  1165. <![CDATA[
  1166. aezfPopUpRsrvSample("SMAEA02000", "", "/root/main/info/rsrvacptinfo/item");
  1167. ]]>
  1168. </script>
  1169. </button>
  1170. <button id="btn_clear" class="btn4_letter3" style="left:925px; top:4px; width:68px; height:22px; ">
  1171. <caption>초기화</caption>
  1172. <script type="javascript" ev:event="DOMActivate">
  1173. <![CDATA[
  1174. fInitInfo();
  1175. fSetBtnStat();
  1176. ]]>
  1177. </script>
  1178. </button>
  1179. <button id="btn_acpt" class="btn4_letter2" style="left:997px; top:4px; width:56px; height:22px; ">
  1180. <caption>접수</caption>
  1181. <script type="javascript" ev:event="DOMActivate">
  1182. <![CDATA[
  1183. fInitDate(true);
  1184. //주민번호나 이름이 입력이 되지 않았을때
  1185. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1186. messageBox("이름또는 주민번호를 ","C001");
  1187. return;
  1188. }
  1189. //패키지가 입력되지 않았을때
  1190. if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
  1191. messageBox("패키지를 ", "C001");
  1192. return;
  1193. }
  1194. //주민등록체크
  1195. if( ! RgstnoCheck() ){
  1196. return false;
  1197. }
  1198. model.makeValue("/root/main/info/rsrvacptinfo/item/dgflag","1");
  1199. model.makeValue("/root/main/info/rsrvacptinfo/item/insu5","");
  1200. if (model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag")=="G05"){
  1201. model.makeValue("/root/main/info/rsrvacptinfo/item/insu5", "G05");
  1202. }
  1203. fSaveRsrvAcptPro("E");
  1204. fnSetImage();
  1205. fGetList();
  1206. ]]>
  1207. </script>
  1208. </button>
  1209. <button id="btn_acptcncl" class="btn4_letter4" style="left:1056px; top:4px; width:80px; height:22px; ">
  1210. <caption>접수취소</caption>
  1211. <script type="javascript" ev:event="DOMActivate">
  1212. <![CDATA[
  1213. //alert("현재 접수취소는 불가합니다. \n접수취소를 원하시면 처방관리화면에서 처방 전체를 반환해주세요.");
  1214. fSaveRsrvAcptPro("F");
  1215. ]]>
  1216. </script>
  1217. </button>
  1218. <button id="btn_rcpt" class="btn4_letter2" style="left:1139px; top:4px; width:56px; height:22px; ">
  1219. <caption>수납</caption>
  1220. <script type="javascript" ev:event="DOMActivate">
  1221. <![CDATA[
  1222. ahafOpenRcpt( fGetHealExamFlag()
  1223. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd")
  1224. , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno")
  1225. , model.getValue("/root/main/info/patinfo/item/pid")
  1226. , model.getValue("/root/main/info/rsrvacptinfo/item/rcptstat")
  1227. , model.getValue("/root/main/info/rsrvacptinfo/item/orddd" ) );
  1228. ]]>
  1229. </script>
  1230. </button>
  1231. <button id="btn_rsrvcfm1" class="btn4_letter2" visibility="visible" style="left:780px; top:4px; width:56px; height:22px; ">
  1232. <caption>예약</caption>
  1233. <script type="javascript" ev:event="DOMActivate">
  1234. <![CDATA[
  1235. //주민번호나 이름이 입력이 되지 않았을때
  1236. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1237. messageBox("이름또는 주민번호를","C001");
  1238. return;
  1239. }
  1240. //패키지가 입력되지 않았을때
  1241. if(ipt_pkgcd.value=="" || opt_pkgnm.value==""){
  1242. messageBox("패키지를 ", "C001");
  1243. return;
  1244. }
  1245. //주민등록체크
  1246. if( ! RgstnoCheck() ){
  1247. return false;
  1248. }
  1249. if (model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") ==""){
  1250. messageBox("예약시간을 ", "C001");
  1251. btn_totrsrvdt.dispatch("DOMActivate");
  1252. }
  1253. model.makeValue("/root/main/info/patinfo/item/hopedd",model.getValue("/root/main/info/rsrvacptinfo/item/hopedd"));
  1254. if(model.getValue("/root/main/info/rsrvacptinfo/item/rsrvtm") !="") {
  1255. fSaveRsrvAcptPro("C");
  1256. fnSetImage();
  1257. fGetList();
  1258. }
  1259. ]]>
  1260. </script>
  1261. </button>
  1262. <button id="btn_rsrvcfm2" class="btn4_letter2" visibility="hidden" style="left:505px; top:4px; width:56px; height:22px; ">
  1263. <caption>저장</caption>
  1264. <script type="javascript" ev:event="DOMActivate">
  1265. <![CDATA[
  1266. //주민번호나 이름이 입력이 되지 않았을때
  1267. if(ipt_rgstno1.currentText=="" || ipt_pnm.currentText==""){
  1268. messageBox("이름또는 주민번호가 입력되지","I001");
  1269. return;
  1270. }
  1271. //주민등록체크
  1272. if( ! RgstnoCheck() ){
  1273. return false;
  1274. }
  1275. // fSaveRsrvAcpt("C");
  1276. fSaveRsrvAcptPro("C");
  1277. ]]>
  1278. </script>
  1279. </button>
  1280. <button id="button8" class="btn4_letter7" visibility="hidden" style="left:568px; top:4px; width:116px; height:22px; ">
  1281. <caption>가예약일괄취소</caption>
  1282. <script type="javascript" ev:event="DOMActivate">
  1283. <![CDATA[
  1284. fDelAllTempRsrv();
  1285. ]]>
  1286. </script>
  1287. </button>
  1288. <button id="button12" class="btn4_letter5" visibility="hidden" style="left:688px; top:4px; width:92px; height:22px; ">
  1289. <caption>가예약취소</caption>
  1290. <script type="javascript" ev:event="DOMActivate">
  1291. <![CDATA[
  1292. fDelTempRsrv();
  1293. ]]>
  1294. </script>
  1295. </button>
  1296. <button id="btn_rsrvcncl" class="btn4_letter4" visibility="visible" style="left:839px; top:4px; width:80px; height:22px; ">
  1297. <caption>예약취소</caption>
  1298. <script type="javascript" ev:event="DOMActivate">
  1299. <![CDATA[
  1300. if(model.getValue("/root/main/info/patinfo/item/hngnm") == "") {
  1301. model.setValue("/root/main/info/patinfo/item/hngnm", model.getValue("/root/main/info/patinfo/item/engnm"));
  1302. }
  1303. // fSaveRsrvAcpt("D");
  1304. fSaveRsrvAcptPro("D");
  1305. ]]>
  1306. </script>
  1307. </button>
  1308. <select1 id="cmb_apntprint" ref="/root/send/srchapntprint" appearance="minimal" style="left:220px; top:5px; width:130px; height:19px; ">
  1309. <choices>
  1310. <itemset nodeset="/root/init/baseinfo/apntprintlst/R003">
  1311. <label ref="cdnm"/>
  1312. <value ref="cdid"/>
  1313. </itemset>
  1314. </choices>
  1315. </select1>
  1316. <button id="button3" class="btn6_letter2" style="left:352px; top:4px; width:104px; height:22px; ">
  1317. <caption>출력</caption>
  1318. <script type="javascript" ev:event="onclick">
  1319. <![CDATA[
  1320. var apntPrint = model.getValue("/root/send/srchapntprint");
  1321. if(apntPrint != "") {
  1322. exeReportPreview(apntPrint, "XMLSTR", "", "", "", "", "", "", "", "","", "", "", "", "", "", "", "printpaper=8;");
  1323. }
  1324. ]]>
  1325. </script>
  1326. </button>
  1327. <button id="btn_prntseq" class="btn6_letter5" style="left:415px; top:3px; width:92px; height:22px; ">
  1328. <caption>순서표출력</caption>
  1329. <script type="javascript" ev:event="DOMActivate">
  1330. <![CDATA[
  1331. fPrntSeq();
  1332. ]]>
  1333. </script>
  1334. </button>
  1335. </group>
  1336. <group id="group1" scroll="auto" style="left:0px; top:13px; width:1200px; height:744px; ">
  1337. <group id="group2" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  1338. <shape id="roundrect3" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1339. <caption id="caption3" class="search_name" style="left:571px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
  1340. <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  1341. <caption>조회</caption>
  1342. <script type="javascript" ev:event="DOMActivate">
  1343. <![CDATA[
  1344. fGetList();
  1345. ]]>
  1346. </script>
  1347. </button>
  1348. <line id="line7" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1349. <input id="ipt_srchpid" ref="/root/send/srchpid2" class="input_search" style="left:660px; top:8px; width:170px; height:19px; "/>
  1350. <caption id="caption7" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
  1351. <button id="button11" class="icon_search" style="left:835px; top:10px; width:16px; height:16px; ">
  1352. <caption/>
  1353. </button>
  1354. <output id="output7" ref="/root/send/srchpnm2" class="output_fix" style="left:855px; top:8px; width:235px; height:19px; "/>
  1355. <caption id="caption20" class="search_name" style="left:331px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
  1356. <select1 id="cmb_srchhealexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:420px; top:8px; width:110px; height:19px; ">
  1357. <choices>
  1358. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1359. <label ref="cdnm"/>
  1360. <value ref="cdid"/>
  1361. </itemset>
  1362. </choices>
  1363. <script type="javascript" ev:event="xforms-select">
  1364. <![CDATA[
  1365. cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
  1366. ]]>
  1367. </script>
  1368. </select1>
  1369. <input id="ipt_srchfromdd" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
  1370. <input id="ipt_srchtodd" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
  1371. <caption id="caption34" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1372. </group>
  1373. <caption id="caption22" class="cell_1" visibility="hidden" style="left:1021px; top:705px; width:50px; height:23px; vertical-align:middle; ">합계</caption>
  1374. <output id="opt_totamt" ref="/root/main/info/rcptinfo/totamt" class="output_fix" visibility="hidden" format="#,###" style="left:1074px; top:707px; width:115px; height:19px; text-align:right; "/>
  1375. <output id="output15" ref="/root/main/list/listinfo/rcptcnt" class="output_fix" visibility="hidden" style="left:38px; top:718px; width:65px; height:19px; text-align:right; "/>
  1376. <caption id="caption60" class="cell_1" visibility="visible" style="left:106px; top:716px; width:35px; height:23px; vertical-align:middle; ">예약</caption>
  1377. <line id="line28" class="line_2" style="x1:0px; y1:714px; x2:305px; y2:714px; "/>
  1378. <caption id="caption61" class="cell_1" style="left:0px; top:716px; width:35px; height:23px; vertical-align:middle; ">접수</caption>
  1379. <caption id="caption62" class="cell_1" style="left:212px; top:716px; width:35px; height:23px; vertical-align:middle; ">취소</caption>
  1380. <caption id="caption63" class="cell_1" visibility="hidden" style="left:106px; top:693px; width:35px; height:23px; vertical-align:middle; ">보류</caption>
  1381. <output id="output17" ref="/root/main/list/listinfo/rsrvcnt" class="output_fix" visibility="visible" style="left:144px; top:718px; width:65px; height:19px; text-align:right; "/>
  1382. <caption id="caption64" class="cell_1" visibility="hidden" style="left:0px; top:693px; width:35px; height:23px; vertical-align:middle; ">수납</caption>
  1383. <output id="output19" ref="/root/main/list/listinfo/cnclcnt" class="output_fix" style="left:250px; top:718px; width:55px; height:19px; text-align:right; "/>
  1384. <output id="output20" ref="/root/main/list/listinfo/holdcnt" class="output_fix" visibility="hidden" style="left:144px; top:695px; width:65px; height:19px; "/>
  1385. <output id="output21" ref="/root/main/list/listinfo/acptcnt" class="output_fix" style="left:38px; top:718px; width:55px; height:19px; text-align:right; "/>
  1386. <output id="output22" ref="/root/main/list/listinfo/outcnt" class="output_fix" visibility="hidden" style="left:250px; top:695px; width:55px; height:19px; "/>
  1387. <caption id="caption65" class="cell_1" visibility="hidden" style="left:212px; top:693px; width:35px; height:23px; vertical-align:middle; ">부도</caption>
  1388. <button id="btn_grdsize" class="btn2_letter3" visibility="visible" style="left:245px; top:50px; width:53px; height:19px; ">
  1389. <caption>펼치기</caption>
  1390. <script type="javascript" ev:event="DOMActivate">
  1391. <![CDATA[
  1392. if( btn_grdsize.attribute("text") == "펼치기"){
  1393. group5.visible=false;
  1394. btn_grdsize.attribute("text") = "줄이기";
  1395. swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width")) + parseInt(group5.attribute("width") );
  1396. grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) + parseInt(group5.attribute("width")) ;
  1397. grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) + parseInt(group5.attribute("width")) ;
  1398. grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) + parseInt(group5.attribute("width")) ;
  1399. }
  1400. else {
  1401. btn_grdsize.attribute("text") ="펼치기";
  1402. swt_acptlst.attribute("width") = parseInt(swt_acptlst.attribute("width")) - parseInt(group5.attribute("width") );
  1403. grd_cncllst.attribute("width") = parseInt(grd_cncllst.attribute("width")) - parseInt(group5.attribute("width") );
  1404. grd_acptlst.attribute("width") = parseInt(grd_acptlst.attribute("width")) - parseInt(group5.attribute("width") ) ;
  1405. grd_rsrvlst.attribute("width") = parseInt(grd_rsrvlst.attribute("width")) - parseInt(group5.attribute("width") );
  1406. group5.visible=true;
  1407. }
  1408. ]]>
  1409. </script>
  1410. </button>
  1411. <group id="group3" style="left:2px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  1412. <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  1413. <caption id="caption5" class="search_name" style="left:521px; top:8px; width:89px; height:17px; ">환자검색 :</caption>
  1414. <button id="button6" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
  1415. <caption>조회</caption>
  1416. <script type="javascript" ev:event="DOMActivate">
  1417. <![CDATA[
  1418. fGetList();
  1419. ]]>
  1420. </script>
  1421. </button>
  1422. <line id="line4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  1423. <input id="srch_pid" ref="/root/send/srchpid2" class="input_search" style="left:615px; top:8px; width:100px; height:19px; "/>
  1424. <caption id="caption10" class="search_name" style="left:5px; top:9px; width:86px; height:17px; ">건진일자 :</caption>
  1425. <button id="button7" class="icon_search" style="left:720px; top:10px; width:16px; height:16px; ">
  1426. <caption/>
  1427. <script type="javascript" ev:event="DOMActivate">
  1428. <![CDATA[
  1429. fSearchPatInfo("SMAHA00600", "rgstno", srch_pid.currentText , "N", "/root/send" ,ipt_srchpid.attribute("ref"), opt_srchpnm.attribute("ref") );
  1430. ]]>
  1431. </script>
  1432. </button>
  1433. <output id="opt_srchpnm" ref="/root/send/srchpnm2" class="output_fix" style="left:740px; top:8px; width:140px; height:19px; "/>
  1434. <caption id="caption13" class="search_name" style="left:321px; top:8px; width:86px; height:17px; ">검진구분 :</caption>
  1435. <select1 id="combo1" ref="/root/send/srchhealexamdetlflag" class="combo_search" disabled="true" appearance="minimal" style="left:410px; top:8px; width:105px; height:19px; ">
  1436. <choices>
  1437. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1438. <label ref="cdnm"/>
  1439. <value ref="cdid"/>
  1440. </itemset>
  1441. </choices>
  1442. <script type="javascript" ev:event="xforms-select">
  1443. <![CDATA[
  1444. cmb_healexamdetlflag.value= cmb_srchhealexamdetlflag.value ;
  1445. ]]>
  1446. </script>
  1447. </select1>
  1448. <input id="input2" ref="/root/send/srchfromdd" class="input_s_essential" inputtype="date" style="left:92px; top:8px; width:100px; height:19px; "/>
  1449. <input id="input3" ref="/root/send/srchtodd" class="input_s_essential" inputtype="date" style="left:212px; top:8px; width:100px; height:19px; "/>
  1450. <caption id="caption14" class="search_n_b" style="left:196px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
  1451. </group>
  1452. <group id="group5" style="left:305px; top:50px; width:893px; height:590px; ">
  1453. <button id="btn_searchzipcd" class="icon_search" style="left:348px; top:142px; width:16px; height:16px; ">
  1454. <caption/>
  1455. <script type="javascript" ev:event="DOMActivate">
  1456. <![CDATA[
  1457. // ahafSetAddr(1, "/root/main/info/patinfo/item");
  1458. ahafSetAddr(1, "/root/main/info/patinfo/item", "combination");
  1459. ]]>
  1460. </script>
  1461. </button>
  1462. <input id="opt_addr" ref="/root/main/info/patinfo/item/addr1" class="output_fix" navindex="9" imemode="hangul" style="left:370px; top:142px; width:175px; height:19px; ">
  1463. <script type="javascript" ev:event="onkeyup">
  1464. <![CDATA[
  1465. if( event.keyCode == 13 ){
  1466. var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
  1467. opt_addr.value = model.getValue(srcNode + "/addr") ;
  1468. }
  1469. fMoveFocus("ipt_detladdr");
  1470. ]]>
  1471. </script>
  1472. </input>
  1473. <caption id="caption93" class="search_n_b" style="left:274px; top:87px; width:12px; height:17px; font-weight:bolder; text-align:center; ">-</caption>
  1474. <output id="opt_sex" ref="/root/main/info/patinfo/item/sex" class="output_fix" style="left:785px; top:87px; width:36px; height:19px; "/>
  1475. <caption id="cap_rsrvtm" class="cell_1" visibility="visible" style="left:631px; top:27px; width:56px; height:23px; vertical-align:middle; ">예약시간</caption>
  1476. <line id="line10" class="line_1" style="x1:10px; y1:23px; x2:875px; y2:23px; "/>
  1477. <caption id="caption52" class="tit_2" style="left:9px; top:65px; width:144px; height:13px; ">건진자 정보</caption>
  1478. <input id="ipt_pid" ref="/root/main/info/patinfo/item/pid" class="input_essential" imemode="alpha" maxlength="10" style="left:616px; top:87px; width:100px; height:24px; ">
  1479. <script type="javascript" ev:event="onkeyup">
  1480. <![CDATA[
  1481. if( event.keyCode == 13 ){
  1482. fInitRsrvAcptInfo();
  1483. fGetPatInfo(2);
  1484. fGetDetlInfoHid();
  1485. }
  1486. ]]>
  1487. </script>
  1488. </input>
  1489. <input id="ipt_rsrvtm" ref="/root/main/info/rsrvacptinfo/item/rsrvtm" class="input_default" disabled="true" visibility="visible" format="hh:nn" style="left:689px; top:28px; width:97px; height:19px; ">
  1490. <script type="javascript" ev:event="onkeyup">
  1491. <![CDATA[
  1492. fMoveFocus("ipt_pnm");
  1493. ]]>
  1494. </script>
  1495. </input>
  1496. <caption id="caption53" class="cell_1" style="left:150px; top:86px; width:63px; height:23px; vertical-align:middle; ">주민번호</caption>
  1497. <caption id="caption32" class="tit_2" style="left:15px; top:7px; width:144px; height:13px; ">예약/접수정보</caption>
  1498. <input id="opt_zipcd1" ref="/root/main/info/patinfo/item/zipcd11" class="output_fix" format="999" style="left:215px; top:142px; width:60px; height:19px; "/>
  1499. <caption id="caption1" class="search_n_b" style="left:274px; top:142px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1500. <caption id="caption33" class="cell_1" style="left:160px; top:28px; width:59px; height:23px; vertical-align:middle; ">접수일자</caption>
  1501. <line id="line14" class="line_3" style="x1:10px; y1:52px; x2:875px; y2:52px; "/>
  1502. <line id="line25" class="line_1" style="x1:9px; y1:81px; x2:874px; y2:81px; "/>
  1503. <caption id="caption55" class="cell_1" style="left:150px; top:140px; width:63px; height:25px; vertical-align:middle; ">주소</caption>
  1504. <input id="opt_zipcd2" ref="/root/main/info/patinfo/item/zipcd12" class="output_fix" format="999" style="left:285px; top:142px; width:60px; height:19px; "/>
  1505. <input id="ipt_detladdr" ref="/root/main/info/patinfo/item/detladdr1" class="input_default" navindex="10" imemode="hangul" maxlength="100" style="left:550px; top:142px; width:320px; height:19px; ">
  1506. <script type="javascript" ev:event="onkeyup">
  1507. <![CDATA[
  1508. fMoveFocus("ipt_patremcnts");
  1509. ]]>
  1510. </script>
  1511. </input>
  1512. <caption id="caption11" class="cell_1" style="left:370px; top:86px; width:63px; height:23px; vertical-align:middle; ">성명(한)</caption>
  1513. <line id="line15" class="line_3" style="x1:150px; y1:193px; x2:875px; y2:193px; "/>
  1514. <input id="ipt_rgstno1" ref="/root/main/info/patinfo/item/rgstno1" class="input_essential" navindex="1" format="999999" style="left:215px; top:87px; width:60px; height:19px; "/>
  1515. <caption id="caption46" class="cell_1" style="left:550px; top:113px; width:63px; height:23px; vertical-align:middle; ">소속기관</caption>
  1516. <input id="ipt_rgstno2" ref="/root/main/info/patinfo/item/rgstno2" class="input_essential" navindex="2" format="9999999" style="left:285px; top:87px; width:60px; height:19px; ">
  1517. <script type="javascript" ev:event="xforms-value-changed">
  1518. <![CDATA[
  1519. if( (getStringLength(ipt_rgstno2.currentText) > 6) && (getStringLength(ipt_rgstno1.currentText) > 5) ){
  1520. fInitRsrvAcptInfo();
  1521. //주민번호로 환자 검색
  1522. fSetBrthDD();
  1523. // 외국인 체크
  1524. if(check_fgnno(ipt_rgstno1.currentText + ipt_rgstno2.currentText) ) {
  1525. model.setValue("/root/main/info/patinfo/item/forgneryn" , "Y");
  1526. }else {
  1527. model.setValue("/root/main/info/patinfo/item/forgneryn" , "N");
  1528. }
  1529. if(fGetPatInfo(1) != false)
  1530. {
  1531. model.setFocus("ipt_pnm");
  1532. };
  1533. fGetDetlInfoHid();
  1534. }
  1535. ]]>
  1536. </script>
  1537. <script type="javascript" ev:event="onkeyup">
  1538. <![CDATA[
  1539. if( event.keyCode == 13 ){
  1540. //fGetPatInfo(1);
  1541. //model.setFocus("ipt_pid");
  1542. //주민번호로 환자 검색 like~
  1543. fInitRsrvAcptInfo();
  1544. if( getStringLength(ipt_rgstno2.currentText) < 7 ){
  1545. fSearchPatInfo("SMAHA00100", "rgstno","", "Y", "/root/main/info/patinfo/item", "", "", ipt_rgstno1.currentText , ipt_rgstno2.currentText);
  1546. }
  1547. else {
  1548. if( getStringLength(ipt_rgstno2.currentText) > 6) fGetPatInfo(1);
  1549. }
  1550. fGetDetlInfoHid();
  1551. model.setFocus("ipt_mpphon");
  1552. }
  1553. ]]>
  1554. </script>
  1555. </input>
  1556. <caption id="caption4" class="cell_1" visibility="visible" style="left:473px; top:27px; width:59px; height:23px; vertical-align:middle; ">예약일자</caption>
  1557. <input id="ipt_orddd" ref="/root/main/info/rsrvacptinfo/item/orddd" class="input_essential" disabled="true" inputtype="date" style="left:221px; top:29px; width:98px; height:19px; "/>
  1558. <caption id="caption69" class="cell_1" style="left:550px; top:86px; width:63px; height:23px; vertical-align:middle; ">등록번호</caption>
  1559. <input id="ipt_brthdd" ref="/root/main/info/patinfo/item/brthdd" class="input_essential" visibility="hidden" inputtype="date" style="left:580px; top:0px; width:108px; height:19px; "/>
  1560. <input id="ipt_rsrvdd" ref="/root/main/info/rsrvacptinfo/item/hopedd" class="input_essential" visibility="visible" inputtype="date" style="left:534px; top:28px; width:93px; height:19px; "/>
  1561. <button id="btn_selpnm" class="icon_search" style="left:348px; top:87px; width:16px; height:16px; ">
  1562. <caption/>
  1563. <script type="javascript" ev:event="DOMActivate">
  1564. <![CDATA[
  1565. fSearchPatInfo("SMAHA00600", "pnm", ipt_pnm.currentText , "Y", "/root/main/info/patinfo/item");
  1566. fGetDetlInfoHid();
  1567. model.makeValue("/root/main/info/rsrvacptinfo/item/choiflag",model.getValue("/root/main/info/rsrvacptinfo/item/choiflag"));
  1568. model.refresh();
  1569. ]]>
  1570. </script>
  1571. </button>
  1572. <caption id="caption39" class="cell_1" style="left:10px; top:28px; width:63px; height:23px; vertical-align:middle; ">검진구분</caption>
  1573. <select1 id="cmb_healexamdetlflag" ref="/root/main/info/rsrvacptinfo/item/healexamdetlflag" class="combo_default" disabled="true" appearance="minimal" style="left:75px; top:29px; width:82px; height:19px; ">
  1574. <choices>
  1575. <itemset nodeset="/root/init/baseinfo/hedetlflaglst/A0070">
  1576. <label ref="cdnm"/>
  1577. <value ref="cdid"/>
  1578. </itemset>
  1579. </choices>
  1580. </select1>
  1581. <output id="opt_age" ref="/root/main/info/patinfo/item/age" class="output_fix" style="left:824px; top:87px; width:46px; height:19px; "/>
  1582. <button id="btn_totrsrvdt" class="btn2_letter6" disabled="false" visibility="visible" style="left:789px; top:28px; width:86px; height:19px; ">
  1583. <caption>예약시간선택</caption>
  1584. <script type="javascript" ev:event="DOMActivate">
  1585. <![CDATA[
  1586. fGetRsrvDateTime("T", ipt_rsrvdd , ipt_rsrvtm);
  1587. ]]>
  1588. </script>
  1589. </button>
  1590. <button id="btn_savepatinfo" class="btn5_letter6" style="left:787px; top:60px; width:86px; height:19px; ">
  1591. <caption>인적사항저장</caption>
  1592. <script type="javascript" ev:event="DOMActivate">
  1593. <![CDATA[
  1594. // 채용건진 일경우 소속기관,소속부서 인적 사항 저장시 수정
  1595. model.makeValue("/root/main/info/patinfo/item/rsrvdd" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd") );
  1596. model.makeValue("/root/main/info/patinfo/item/rsrvno" , model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") );
  1597. model.makeValue("/root/main/info/patinfo/item/clntcmpynm" , model.getValue("/root/main/info/rsrvacptinfo/item/clntcmpynm"));
  1598. model.makeValue("/root/main/info/patinfo/item/clntdeptnm" , model.getValue("/root/main/info/rsrvacptinfo/item/clntdeptnm"));
  1599. //인적사항을 인서트 한다.
  1600. fSavePatInfo("N");
  1601. fnSetImage();
  1602. fGetList();
  1603. ]]>
  1604. </script>
  1605. </button>
  1606. <datagrid id="grd_pkglst" nodeset="/root/main/info/rsrvacptinfo/pkglst" visibility="hidden" caption="선택^검사구분^검사코드^검사명^청구방법^가격" colsep="^" colwidth="33, 50, 100, 293, 160, 143" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:220px; top:350px; width:270px; height:65px; ">
  1607. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1608. <col ref="pkgflag" visibility="hidden"/>
  1609. <col ref="pkgcd" type="inputbutton"/>
  1610. <col ref="testnm"/>
  1611. <col ref="uncocd" type="combo">
  1612. <choices>
  1613. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1614. <label ref="nm"/>
  1615. <value ref="cd"/>
  1616. </itemset>
  1617. </choices>
  1618. </col>
  1619. <col ref="manamt" visibility="visible"/>
  1620. <script type="javascript" ev:event="onendedit">
  1621. <![CDATA[
  1622. if( grd_addlst.col == 3 ){
  1623. fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
  1624. }
  1625. ]]>
  1626. </script>
  1627. </datagrid>
  1628. <caption id="caption91" class="cell_1" style="left:720px; top:86px; width:63px; height:23px; vertical-align:middle; ">성별/나이</caption>
  1629. <input id="ipt_pnm" ref="/root/main/info/patinfo/item/hngnm" class="input_default" navindex="4" imemode="hangul" maxlength="50" style="left:435px; top:87px; width:108px; height:19px; ">
  1630. <script type="javascript" ev:event="onkeyup">
  1631. <![CDATA[
  1632. fMoveFocus("ipt_engnm");
  1633. ]]>
  1634. </script>
  1635. </input>
  1636. <button id="button10" class="btn5_letter6" visibility="hidden" style="left:345px; top:60px; width:86px; height:19px; ">
  1637. <caption>인적사항수정</caption>
  1638. <script type="javascript" ev:event="DOMActivate">
  1639. <![CDATA[
  1640. //인적사항을 업데이트 한다.
  1641. fSavePatInfo("N");
  1642. ]]>
  1643. </script>
  1644. </button>
  1645. <caption id="caption25" class="tit_2" style="left:9px; top:210px; width:156px; height:13px; ">건진 정보 - 선택패키지</caption>
  1646. <output id="out_engnm" ref="/root/main/info/patinfo/item/engnm" appearance="output" style="left:105px; top:60px; width:295px; height:19px; "/>
  1647. <input id="ipt_mpphon" ref="/root/main/info/patinfo/item/mpphon" class="input_default" navindex="8" imemode="alpha" maxlength="30" style="left:215px; top:115px; width:130px; height:19px; ">
  1648. <script type="javascript" ev:event="onkeyup">
  1649. <![CDATA[
  1650. fMoveFocus("opt_addr");
  1651. ]]>
  1652. </script>
  1653. </input>
  1654. <input id="ipt_telno" ref="/root/main/info/patinfo/item/telno" class="input_default" navindex="7" imemode="alpha" maxlength="30" style="left:435px; top:115px; width:108px; height:19px; ">
  1655. <script type="javascript" ev:event="onkeyup">
  1656. <![CDATA[
  1657. fMoveFocus("ipt_mpphon");
  1658. ]]>
  1659. </script>
  1660. </input>
  1661. <caption id="caption45" class="cell_1" style="left:150px; top:113px; width:63px; height:23px; vertical-align:middle; ">휴대폰</caption>
  1662. <caption id="caption49" class="cell_1" style="left:370px; top:113px; width:63px; height:23px; vertical-align:middle; ">연락처</caption>
  1663. <caption id="caption2" class="tit_2" style="left:500px; top:515px; width:144px; height:13px; ">할인정보</caption>
  1664. <line id="line1" class="line_1" style="x1:10px; y1:530px; x2:495px; y2:530px; "/>
  1665. <select1 id="cmb_place" ref="/root/main/info/rsrvacptinfo/item/healexamplacecd" class="combo_essential" disabled="true" visibility="visible" appearance="minimal" style="left:384px; top:29px; width:85px; height:19px; ">
  1666. <choices>
  1667. <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
  1668. <label ref="cdnm"/>
  1669. <value ref="cdid"/>
  1670. </itemset>
  1671. </choices>
  1672. </select1>
  1673. <caption id="caption21" class="cell_1" visibility="visible" style="left:323px; top:27px; width:59px; height:23px; vertical-align:middle; ">건진장소</caption>
  1674. <select1 id="rdo_healexamplacecd" ref="/root/init/place/healexamplacecd" visibility="visible" appearance="full" cols="2" overflow="visible" style="left:710px; top:3px; width:165px; height:20px; border-style:none; ">
  1675. <choices>
  1676. <itemset nodeset="/root/init/baseinfo/healexamplacelst/S600">
  1677. <label ref="cdnm"/>
  1678. <value ref="cdid"/>
  1679. </itemset>
  1680. </choices>
  1681. <script type="javascript" ev:event="xforms-select">
  1682. <![CDATA[
  1683. var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
  1684. var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  1685. if(statFlag < 'C') {
  1686. model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", rdo_healexamplacecd.value);
  1687. }else {
  1688. model.setValue( "/root/main/info/rsrvacptinfo/item/healexamplacecd", healexamplacecd == "" ? rdo_healexamplacecd.value:healexamplacecd);
  1689. }
  1690. cmb_place.refresh();
  1691. ]]>
  1692. </script>
  1693. </select1>
  1694. <line id="line2" class="line_2" style="x1:150px; y1:109px; x2:875px; y2:109px; "/>
  1695. <line id="line6" class="line_2" style="x1:150px; y1:137px; x2:875px; y2:137px; "/>
  1696. <select1 id="cmb_disccdlst" ref="/root/main/info/rsrvacptinfo/item/disccd" class="combo_default" navindex="32" appearance="minimal" style="left:645px; top:535px; width:230px; height:19px; ">
  1697. <choices>
  1698. <itemset nodeset="/root/init/baseinfo/pamcdlst/disccdlst">
  1699. <label ref="nm"/>
  1700. <value ref="cd"/>
  1701. </itemset>
  1702. </choices>
  1703. <script type="javascript" ev:event="xforms-select">
  1704. <![CDATA[
  1705. var chkdisccd = model.getValue("/root/main/info/rsrvacptinfo/item/disccd");
  1706. if(chkdisccd !="" ){
  1707. model.makeValue("/root/main/info/rsrvacptinfo/item/dcamt" , model.getValue("/root/init/baseinfo/pamcdlst/disccdlst[cd='"+ chkdisccd+ "']/dcamt"));
  1708. model.makeValue("/root/main/info/rsrvacptinfo/item/adddcamt" , model.getValue("/root/init/baseinfo/pamcdlst/disccdlst[cd='"+ chkdisccd+ "']/adddcamt"));
  1709. }
  1710. fSetAddAmt();
  1711. ]]>
  1712. </script>
  1713. </select1>
  1714. <input id="input1" ref="/root/main/info/patinfo/item/addr2" class="output_fix" navindex="9" imemode="hangul" style="left:370px; top:172px; width:175px; height:19px; ">
  1715. <script type="javascript" ev:event="onkeyup">
  1716. <![CDATA[
  1717. if( event.keyCode == 13 ){
  1718. var srcNode = ahafSetAddr(1, "/root/main/info/patinfo/item" , "combination", opt_addr.currentText );
  1719. opt_addr.value = model.getValue(srcNode + "/addr") ;
  1720. }
  1721. fMoveFocus("ipt_detladdr");
  1722. ]]>
  1723. </script>
  1724. </input>
  1725. <button id="button5" class="icon_search" style="left:348px; top:172px; width:16px; height:16px; ">
  1726. <caption/>
  1727. <script type="javascript" ev:event="DOMActivate">
  1728. <![CDATA[
  1729. // ahafSetAddr(1, "/root/main/info/patinfo/item");
  1730. ahafSetAddr(2, "/root/main/info/patinfo/item", "combination");
  1731. ]]>
  1732. </script>
  1733. </button>
  1734. <input id="input4" ref="/root/main/info/patinfo/item/zipcd21" class="output_fix" format="999" style="left:215px; top:172px; width:60px; height:19px; "/>
  1735. <input id="input5" ref="/root/main/info/patinfo/item/detladdr2" class="input_default" navindex="10" imemode="hangul" maxlength="100" style="left:550px; top:172px; width:320px; height:19px; ">
  1736. <script type="javascript" ev:event="onkeyup">
  1737. <![CDATA[
  1738. fMoveFocus("ipt_patremcnts");
  1739. ]]>
  1740. </script>
  1741. </input>
  1742. <input id="input6" ref="/root/main/info/patinfo/item/zipcd22" class="output_fix" format="999" style="left:285px; top:172px; width:60px; height:19px; "/>
  1743. <caption id="caption9" class="cell_1" style="left:150px; top:168px; width:63px; height:25px; vertical-align:middle; ">발송주소</caption>
  1744. <caption id="caption12" class="search_n_b" style="left:274px; top:172px; width:12px; height:17px; font-weight:bolder; ">-</caption>
  1745. <caption id="caption92" class="cell_1" style="left:10px; top:256px; width:83px; height:23px; vertical-align:middle; ">최근건진내역</caption>
  1746. <line id="line43" class="line_2" style="x1:10px; y1:253px; x2:498px; y2:253px; "/>
  1747. <line id="line44" class="line_1" style="x1:9px; y1:225px; x2:497px; y2:225px; "/>
  1748. <input id="ipt_pkgcd" ref="/root/main/info/rsrvacptinfo/item/pkgcd" class="input_essential" maxlength="12" style="left:95px; top:232px; width:85px; height:19px; ">
  1749. <script type="javascript" ev:event="onkeyup">
  1750. <![CDATA[
  1751. inputEnterKey("btn_selpkg", "DOMActivate");
  1752. ]]>
  1753. </script>
  1754. </input>
  1755. <datagrid id="grd_addlst" nodeset="/root/main/info/rsrvacptinfo/addlst" caption="선택^검사구분^검사코드^검사명^청구방법^가격^횟수^할인액^검사일련번호^수가코드^처방번호^처방일자^처방구분^묶음검사구분^addtotamt" colsep="^" colwidth="33, 62, 100, 293, 93, 138, 95, 100, 100, 100, 100, 100, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:9px; top:285px; width:488px; height:155px; ">
  1756. <col checkvalue="Y,N" ref="sel" type="checkbox"/>
  1757. <col ref="testflag" type="combo">
  1758. <choices>
  1759. <itemset nodeset="/root/init/baseinfo/testflag/A0117">
  1760. <label ref="cdnm"/>
  1761. <value ref="cdid"/>
  1762. </itemset>
  1763. </choices>
  1764. </col>
  1765. <col ref="testcd" type="inputbutton"/>
  1766. <col ref="testnm"/>
  1767. <col ref="uncocd" type="combo">
  1768. <choices>
  1769. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  1770. <label ref="nm"/>
  1771. <value ref="cd"/>
  1772. </itemset>
  1773. </choices>
  1774. </col>
  1775. <col ref="scoreamt" visibility="visible" format="(-,+)#,###" style="text-align:right; "/>
  1776. <col ref="prcptims" type="input"/>
  1777. <col ref="discamt" visibility="hidden" format="(-,+)#,###"/>
  1778. <col ref="examseq"/>
  1779. <col ref="calcscorcd"/>
  1780. <col ref="prcpno"/>
  1781. <col ref="prcpdd"/>
  1782. <col ref="m"/>
  1783. <col ref="grupflag"/>
  1784. <col ref="addtotamt" visibility="hidden"/>
  1785. <script type="javascript" ev:event="onendedit">
  1786. <![CDATA[
  1787. if( (grd_addlst.col == 3 ) && (event.keyCode == 13 )) {
  1788. fSelPkgAdd("A" , grd_addlst.labelMatrix( grd_addlst.row , 3) );
  1789. }
  1790. ]]>
  1791. </script>
  1792. <script type="javascript" ev:event="xforms-value-changed">
  1793. <![CDATA[
  1794. fSetAddAmt();
  1795. ]]>
  1796. </script>
  1797. </datagrid>
  1798. <button id="btn_selpkg" class="icon_search" style="left:183px; top:232px; width:16px; height:16px; ">
  1799. <caption/>
  1800. <script type="javascript" ev:event="DOMActivate">
  1801. <![CDATA[
  1802. model.removeNode( "/root/temp2/addlst" );
  1803. model.removeNode( "/root/temp/templst/list" );
  1804. model.makeNode("/root/temp2/addlst");
  1805. model.removeNodeSet(grd_addlst.nodeset);
  1806. var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1807. var old_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
  1808. var old_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
  1809. var old_conhistseq = model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq");
  1810. //var old_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1811. //fGetPkgCd("SMAHA00600", "P", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item","","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2") ), cmb_brthareacnts.value);
  1812. //fGetPkgCd("SMAHA00100", "C", "N","nm" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item" ,"","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2")) , "",model.getValue("/root/main/info/patinfo/item/forgneryn"));
  1813. //채용건진 외국인구분, 성별 구분 필요없음
  1814. fGetPkgCd("SMAHA04020", "P", "N","cd" , ipt_pkgcd.currentText , cmb_healexamdetlflag.value, opt_sex.value , "/root/main/info/rsrvacptinfo/item" ,"","pkg",ageCalc(model.getValue("/root/main/info/patinfo/item/rgstno1") , model.getValue("/root/main/info/patinfo/item/rgstno2")) , "",model.getValue("/root/main/info/patinfo/item/forgneryn"));
  1815. model.setValue("/root/main/info/rcptinfo/pkgamt" , model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"));
  1816. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1817. //alert(count_a);
  1818. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1819. count_a = count_a == "" ? 0 : count_a;
  1820. count_b = count_b == "" ? 0 : count_b;
  1821. model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
  1822. var cur_pkgcd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1823. var cur_cmpycd = model.getValue("/root/main/info/rsrvacptinfo/item/cmpycd");
  1824. var cur_conseq = model.getValue("/root/main/info/rsrvacptinfo/item/conseq");
  1825. var cur_conhistseq = model.getValue("/root/main/info/rsrvacptinfo/item/conhistseq");
  1826. //같은 패키지 이거나 같은 계약정보일경우 return
  1827. if( (cur_cmpycd != "") && (cur_conseq != "") && (cur_conhistseq != "") ) {
  1828. model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag", "Y");
  1829. model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvflag", "02");
  1830. model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd", "V02");
  1831. }else{
  1832. model.setValue("/root/main/info/rsrvacptinfo/item/cmpyflag", "N");
  1833. model.makeValue("/root/main/info/rsrvacptinfo/item/rsrvflag", "01");
  1834. model.makeValue("/root/main/info/rsrvacptinfo/item/pkguncocd", "V01");
  1835. }
  1836. var acpt_remcnts = model.getValue("/root/main/info/rsrvacptinfo/item/pkgremcnts") ;
  1837. model.setValue( tar_remcnts.attribute("ref") , acpt_remcnts);
  1838. var cur_pkgnm = opt_pkgnm.value;
  1839. // 패키지 추가검사 조회
  1840. fGetConAddList(cur_pkgcd, cur_pkgnm, opt_sex.value, cur_cmpycd, cur_conseq , cur_conhistseq);
  1841. if(old_pkgcd != "" && old_pkgcd != cur_pkgcd || old_cmpycd != old_cmpycd && old_conseq != cur_conseq && old_conhistseq != cur_conhistseq){
  1842. fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y","", model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
  1843. }
  1844. fDcAmtCalc();
  1845. // 패키지 상세내역 조회
  1846. var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  1847. ahafGetPkgDetlList(PkgCd);
  1848. // 건진이력조회
  1849. var pid = model.getValue("/root/main/info/patinfo/item/pid");
  1850. if (pid != "") {
  1851. ahafGetHistList(pid);
  1852. }
  1853. model.refresh();
  1854. ]]>
  1855. </script>
  1856. </button>
  1857. <button id="btn_add" class="btn2_letter4" style="left:430px; top:205px; width:64px; height:19px; ">
  1858. <caption>추가검사</caption>
  1859. <script type="javascript" ev:event="DOMActivate">
  1860. <![CDATA[
  1861. //남녀구분제외
  1862. //fGetPkgCd("SMAHA04020", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
  1863. fGetPkgCd("SMAHA04020", "A", "Y","nm" , "" , cmb_healexamdetlflag.value, opt_sex.value, "/root/temp/templst");
  1864. fSetAddList(grd_addlst, 3, "/root/temp/templst/list", "Y","", model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd"));
  1865. // fTempCalc(model.getValue("/root/main/info/rsrvacptinfo/item/pkgamt"), grd_addlst , 6,7, opt_totamt, opt_pkgamt , opt_addamt );
  1866. var count_a=model.getValue("/root/main/info/rcptinfo/pkgamt");
  1867. var count_b=model.getValue("/root/main/info/rcptinfo/addamt");
  1868. count_a = count_a == "" ? 0 : count_a;
  1869. count_b = count_b == "" ? 0 : count_b;
  1870. model.setValue("/root/main/sum",parseInt(count_a)+parseInt(count_b));
  1871. fSetAddAmt();
  1872. ]]>
  1873. </script>
  1874. </button>
  1875. <output id="opt_latestpkginfo" ref="/root/main/info/rsrvacptinfo/item/latestpkginfo" class="output_fix" style="left:95px; top:258px; width:400px; height:19px; "/>
  1876. <button id="btn_ordmgt" class="btn2_letter4" visibility="visible" style="left:360px; top:205px; width:64px; height:19px; ">
  1877. <caption>처방관리</caption>
  1878. <script type="javascript" ev:event="DOMActivate">
  1879. <![CDATA[
  1880. setParameter ("SMAHA00700_PARAM1" , model.getValue( cmb_healexamdetlflag.attribute("ref")) );
  1881. setParameter ("SMAHA00700_PARAM2" , model.getValue( ipt_pid.attribute("ref")) );
  1882. modal("SMAHA04050");
  1883. ]]>
  1884. </script>
  1885. </button>
  1886. <output id="opt_pkgnm" ref="/root/main/info/rsrvacptinfo/item/pkgnm" class="output_fix" style="left:205px; top:232px; width:290px; height:19px; "/>
  1887. <caption id="cap_pkgcd" class="cell_1" style="left:10px; top:230px; width:83px; height:23px; vertical-align:middle; ">패키지</caption>
  1888. <line id="line8" class="line_3" style="x1:10px; y1:280px; x2:498px; y2:280px; "/>
  1889. <line id="line9" class="line_1" style="x1:9px; y1:280px; x2:497px; y2:280px; "/>
  1890. <datagrid id="grd_pkgdetl" nodeset="/root/main/info/pkgdetl/item" caption="검진코드^검진구분^검사분류^검사명^참고치^패키지분류^최종수정자^최종수정일시" colsep="^" colwidth="35, 110, 135, 193, 162, 100" mergecells="byrowrec" mergecellsfixedrows="bycolrec" multitotal="true" rowheader="seq" rowsep="|" style="left:505px; top:230px; width:370px; height:140px; ">
  1891. <col disabled="false" ref="pkgcd" visibility="hidden"/>
  1892. <col ref="cdnm"/>
  1893. <col ref="spcnm"/>
  1894. <col ref="testnm"/>
  1895. <col ref="stndval"/>
  1896. <col disabled="true" ref="padd" visibility="hidden"/>
  1897. <script type="javascript" ev:event="ondblclick">
  1898. <![CDATA[
  1899. ]]>
  1900. </script>
  1901. </datagrid>
  1902. <line id="line11" class="line_1" style="x1:505px; y1:225px; x2:875px; y2:225px; "/>
  1903. <caption id="caption15" class="tit_2" style="left:505px; top:210px; width:156px; height:13px; ">건진 정보 - 패키지상세</caption>
  1904. <datagrid id="grd_hist" nodeset="/root/main/info/histlst/item" caption="신검일자^패키지코드^패키지명^특이사항" colsep="^" colwidth="78, 99, 261,100" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:505px; top:395px; width:370px; height:105px; ">
  1905. <col ref="orddd" format="yyyy-mm-dd"/>
  1906. <col ref="pkgcd"/>
  1907. <col ref="pkgnm"/>
  1908. <col ref="remcnts"/>
  1909. </datagrid>
  1910. <line id="line12" class="line_1" style="x1:505px; y1:390px; x2:875px; y2:390px; "/>
  1911. <caption id="caption17" class="tit_2" style="left:505px; top:375px; width:156px; height:13px; ">건진 정보 - 건진이력</caption>
  1912. <textarea id="tar_remcnts" ref="/root/main/info/rsrvacptinfo/item/remcnts" maxlength="500" style="left:95px; top:535px; width:400px; height:50px; "/>
  1913. <caption id="caption23" class="cell_1" style="left:10px; top:535px; width:83px; height:50px; vertical-align:middle; ">전달사항</caption>
  1914. <button id="button9" class="btn5_letter6" style="left:410px; top:510px; width:86px; height:19px; ">
  1915. <caption>전달사항저장</caption>
  1916. <script type="javascript" ev:event="DOMActivate">
  1917. <![CDATA[
  1918. if(model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno") == "")
  1919. {
  1920. messageBox("예약(접수)이후에만 특이사항을 별도로 저장하실수 있습니다.", "I");
  1921. return false;
  1922. }
  1923. model.makeNode("/root/sendcmts");
  1924. model.makeNode("/root/sendcmts/healexamdetlflag");
  1925. model.makeNode("/root/sendcmts/rsrvdd");
  1926. model.makeNode("/root/sendcmts/rsrvno");
  1927. model.makeNode("/root/sendcmts/cmts");
  1928. model.setValue("/root/sendcmts/healexamdetlflag", model.getValue("/root/send/srchhealexamdetlflag"));
  1929. model.setValue("/root/sendcmts/rsrvdd", model.getValue("/root/send/srchrsrvdd"));
  1930. model.setValue("/root/sendcmts/rsrvno", model.getValue("/root/send/srchrsrvno"));
  1931. model.setValue("/root/sendcmts/cmts", model.getValue("/root/main/info/rsrvacptinfo/item/remcnts"));
  1932. submit("TXAHA04029");
  1933. ]]>
  1934. </script>
  1935. </button>
  1936. <img id="img_visaphot" ref="/root/image/attachfile/image" style="left:10px; top:87px; width:130px; height:108px; background-stretch:stretch; border-color:#000000; border-style:solid; cursor:hand; ">
  1937. <script type="javascript" ev:event="ondblclick">
  1938. <![CDATA[
  1939. if(img_visaphot.currentStyle.width == 640)
  1940. {
  1941. img_visaphot.attribute("width") = 135;
  1942. img_visaphot.attribute("height") = 100;
  1943. }
  1944. else
  1945. {
  1946. img_visaphot.attribute("width") = 640;
  1947. img_visaphot.attribute("height") = 480;
  1948. }
  1949. ]]>
  1950. </script>
  1951. </img>
  1952. <caption id="caption8" class="cell_1" style="left:500px; top:535px; width:140px; height:23px; vertical-align:middle; ">할인계정</caption>
  1953. <caption id="caption28" class="cell_1" style="left:500px; top:560px; width:140px; height:23px; vertical-align:middle; ">패키지/추가검사 할인율</caption>
  1954. <output id="dcamt" ref="/root/main/info/rsrvacptinfo/item/dcamt" class="output_fix" style="left:645px; top:562px; width:53px; height:19px; text-align:center; "/>
  1955. <output id="adddcamt" ref="/root/main/info/rsrvacptinfo/item/adddcamt" class="output_fix" style="left:715px; top:562px; width:50px; height:19px; text-align:center; "/>
  1956. <caption id="caption29" style="left:700px; top:562px; width:15px; height:20px; ">/</caption>
  1957. <line id="line3" class="line_2" style="x1:150px; y1:165px; x2:875px; y2:165px; "/>
  1958. <button id="btn_addfile" class="btn2_letter4" style="left:720px; top:60px; width:64px; height:19px; ">
  1959. <caption>사진등록</caption>
  1960. <script type="javascript" ev:event="DOMActivate">
  1961. <![CDATA[
  1962. var maxsize = upload1.attribute("filesize");
  1963. files = window.fileDialog("open", "|", true);
  1964. // alert(files + files.split("|"));
  1965. model.setValue("/root/send/attach/file", files);
  1966. //alert(files);
  1967. if (!checkFileSize(upload1)){
  1968. messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
  1969. }
  1970. model.refresh();
  1971. ]]>
  1972. </script>
  1973. </button>
  1974. <line id="line5" class="line_1" style="x1:500px; y1:530px; x2:875px; y2:530px; "/>
  1975. <caption id="caption18" class="tit_2" style="left:14px; top:515px; width:144px; height:13px; ">추가정보</caption>
  1976. <input id="ipt_clntcmpynm" ref="/root/main/info/rsrvacptinfo/item/clntcmpynm" class="input_default" imemode="hangul" style="left:616px; top:115px; width:100px; height:19px; ">
  1977. <script type="javascript" ev:event="onkeyup">
  1978. <![CDATA[
  1979. fMoveFocus("ipt_clntdeptnm");
  1980. ]]>
  1981. </script>
  1982. </input>
  1983. <caption id="caption27" class="cell_1" style="left:720px; top:113px; width:63px; height:23px; vertical-align:middle; ">소속부서</caption>
  1984. <input id="ipt_clntdeptnm" ref="/root/main/info/rsrvacptinfo/item/clntdeptnm" class="input_default" imemode="hangul" style="left:785px; top:115px; width:85px; height:19px; ">
  1985. <script type="javascript" ev:event="onkeyup">
  1986. <![CDATA[
  1987. fMoveFocus("opt_addr");
  1988. ]]>
  1989. </script>
  1990. </input>
  1991. <input id="ipt_tagno" ref="/root/main/info/taginfo/tagno" class="input_default" format="999" style="left:585px; top:60px; width:61px; height:19px; ">
  1992. <script type="javascript" ev:event="xforms-value-changed">
  1993. <![CDATA[
  1994. model.setValue("/root/send/srchtagno",model.getValue("/root/main/info/taginfo/tagno"));
  1995. model.setValue("/root/send/srchhealexamplacecd" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd"));
  1996. //var ret = submit("TRAHA00114",false); 2008-06-12 이성인
  1997. var ret = submit("TRAHA00114",false);
  1998. if(ret) {
  1999. var tagstat = model.getValue("/root/tag/taginfo/tagstat");
  2000. if(tagstat == "0") {
  2001. var tagno = model.getValue("/root/main/info/taginfo/tagno");
  2002. var vb = messageBox("["+ tagno +"]태그는 이미 지급된 태급입니다.\n 반납" , "S001" );
  2003. if(6 == vb ) {
  2004. model.makeValue("/root/send/taginfo/tagflag" ,"R");
  2005. model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno"));
  2006. model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("dutplceinstcd"));
  2007. model.makeValue("/root/send/taginfo/healexamplacecd" , model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd"));
  2008. // if(submit("TXAHA00109",false)) { 2008-06-12 이성인
  2009. if(submit("TXAHA00109",false)) {
  2010. btn_tag.attribute("text") = "태그지급";
  2011. ipt_tagno.value = "";
  2012. }
  2013. }else if(7 == vb || 2 == vb) {
  2014. ipt_tagno.value = "";
  2015. model.setFocus("ipt_tagno");
  2016. }
  2017. }
  2018. }
  2019. ipt_tagno.refresh();
  2020. ]]>
  2021. </script>
  2022. <script type="javascript" ev:event="onkeyup">
  2023. <![CDATA[
  2024. if( event.keyCode == 13 ){
  2025. }
  2026. ]]>
  2027. </script>
  2028. </input>
  2029. <caption id="caption31" class="cell_1" style="left:525px; top:60px; width:55px; height:19px; vertical-align:middle; ">태그번호</caption>
  2030. <button id="btn_tag" class="btn2_letter4" style="left:650px; top:60px; width:64px; height:19px; ">
  2031. <caption>태그지급</caption>
  2032. <script type="javascript" ev:event="DOMActivate">
  2033. <![CDATA[
  2034. var suppStat = model.getValue("/root/tag/taginfo/tagstat");
  2035. var tagno = model.getValue("/root/main/info/taginfo/tagno");
  2036. var statFlag = model.getValue("/root/main/info/rsrvacptinfo/item/statflag");
  2037. var healexamplacecd = model.getValue("/root/main/info/rsrvacptinfo/item/healexamplacecd");
  2038. if(suppStat == "") {
  2039. suppStat = model.getValue("/root/main/info/taginfo/suppstat");
  2040. }
  2041. if("0" == suppStat) {
  2042. if(6 == messageBox("[" + tagno + "]태그 반납을", "Q004")) {
  2043. model.makeValue("/root/send/taginfo/tagflag" ,"R");
  2044. model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno") );
  2045. model.makeValue("/root/send/taginfo/healexamplacecd" ,model.getValue("/root/main/info/taginfo/healexamplacecd") );
  2046. model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("dutplceinstcd") );
  2047. if(submit("TXAHA00109")) {
  2048. btn_tag.attribute("text") = "태그지급";
  2049. ipt_tagno.value = "";
  2050. ipt_tagno.disabled = false;
  2051. }
  2052. }
  2053. }else {
  2054. if(statFlag < "E") {
  2055. messageBox("접수 전에 태그를 지급", "E001");
  2056. return;
  2057. }
  2058. if(tagno == "") {
  2059. messageBox("태그번호를","C001");
  2060. return;
  2061. }
  2062. if(messageBox("["+tagno+"]태그 지급을","Q004")) {
  2063. model.makeValue("/root/send/taginfo/tagflag" ,"P");
  2064. model.makeValue("/root/send/taginfo/rsrvdd" ,model.getValue("/root/main/info/rsrvacptinfo/item/rsrvdd"));
  2065. model.makeValue("/root/send/taginfo/rsrvno" ,model.getValue("/root/main/info/rsrvacptinfo/item/rsrvno"));
  2066. model.makeValue("/root/send/taginfo/pid" ,model.getValue("/root/main/info/rsrvacptinfo/item/pid"));
  2067. model.makeValue("/root/send/taginfo/orddd" ,model.getValue("/root/main/info/rsrvacptinfo/item/orddd"));
  2068. model.makeValue("/root/send/taginfo/healexamdetlflag" ,model.getValue("/root/main/info/rsrvacptinfo/item/healexamdetlflag"));
  2069. model.makeValue("/root/send/taginfo/tagno" ,model.getValue("/root/main/info/taginfo/tagno"));
  2070. model.makeValue("/root/send/taginfo/instcd" ,getUserInfo("posinstcd") );
  2071. if(submit("TXAHA00109")) {
  2072. btn_tag.attribute("text") = "태그반납";
  2073. ipt_tagno.disabled = true;
  2074. }
  2075. }
  2076. }
  2077. ipt_tagno.refresh();
  2078. ]]>
  2079. </script>
  2080. </button>
  2081. <caption id="caption35" class="tit_2" style="left:9px; top:450px; width:156px; height:13px; ">상담예약일정</caption>
  2082. <line id="line16" class="line_1" style="x1:10px; y1:465px; x2:495px; y2:465px; "/>
  2083. <caption id="cap_rsltcnstflag" class="cell_1" style="left:10px; top:470px; width:58px; height:23px; vertical-align:middle; ">결과상담</caption>
  2084. <select1 id="cmb_rsltcnstlst" ref="/root/main/info/rsltcnstinfo/choicnst/rsltrsrvid" appearance="minimal" style="left:240px; top:472px; width:255px; height:19px; ">
  2085. <choices>
  2086. <itemset nodeset="/root/main/info/rsltcnstinfo/cnstlst/cnst">
  2087. <label ref="rsltrsrvnm"/>
  2088. <value ref="rsltrsrvid"/>
  2089. </itemset>
  2090. </choices>
  2091. <script type="javascript" ev:event="xforms-value-changed">
  2092. <![CDATA[
  2093. var idx = cmb_rsltcnstlst.focusIndex;
  2094. copyNodesetType("/root/main/info/rsltcnstinfo/choicnst" , "/root/main/info/rsltcnstinfo/cnstlst/cnst[" + (idx + 1) + "]" , "replace");
  2095. var rsltRsrvId = model.getValue("/root/main/info/rsltcnstinfo/choicnst/rsltrsrvid");
  2096. // 기존 내역을 선택 했을경우에는 조회만 가능
  2097. if(rsltRsrvId == "-" || rsltRsrvId == "") {
  2098. cmb_rsltcnstflag.disabled = false;
  2099. btn_rsltcnstrsrv.disabled = false;
  2100. btn_rsltcnstrsrvcncl.disabled = true;
  2101. }else {
  2102. cmb_rsltcnstflag.disabled = true;
  2103. btn_rsltcnstrsrv.disabled = true;
  2104. btn_rsltcnstrsrvcncl.disabled = false;
  2105. }
  2106. model.refresh();
  2107. ]]>
  2108. </script>
  2109. </select1>
  2110. <select1 id="cmb_rsltcnstflag" ref="/root/main/info/rsltcnstinfo/choicnst/rsltcnstflag" class="combo_essential" appearance="minimal" style="left:71px; top:472px; width:69px; height:19px; ">
  2111. <choices>
  2112. <itemset nodeset="/root/init/baseinfo/rsltcnstflaglst/S080">
  2113. <label ref="cdnm"/>
  2114. <value ref="cdid"/>
  2115. </itemset>
  2116. </choices>
  2117. <script type="javascript" ev:event="xforms-value-changed">
  2118. <![CDATA[
  2119. /*
  2120. * 최초이력:2009-03-13
  2121. * 내부검사 선택 시에만 활성화 되며 내부상담 시 1회로 제한다.
  2122. * 결과상담 구분은 우편을 제외 한 모둔 구분은 상담 시간을 잡는다.
  2123. * 건진 공통코드의 cmt의 상태가 Y 일경우 상담예약 팝업을 띄우면 N경우 화면은 띄우지 않으며 상담예약 버튼은 비활성 시킨다.
  2124. */
  2125. /*
  2126. var nodeList = instance1.selectNodes("/root/init/baseinfo/rsltcnstflaglst/S080");
  2127. var idx = cmb_rsltcnstflag.focusIndex;
  2128. // 공통코드의 비고
  2129. var cmt = nodeList.item(idx).cmt.text;
  2130. if(cmt == "Y") {
  2131. btn_rsltcnstrsrv.disabled = false;
  2132. }else if (cmt == "N") {
  2133. btn_rsltcnstrsrv.disabled = true;
  2134. }*/
  2135. ]]>
  2136. </script>
  2137. </select1>
  2138. <caption id="caption57" class="cell_1" style="left:145px; top:470px; width:92px; height:23px; vertical-align:middle; ">결과상담예약일</caption>
  2139. <button id="btn_rsltcnstrsrvcncl" class="btn2_letter4" style="left:345px; top:445px; width:64px; height:19px; ">
  2140. <caption>상담취소</caption>
  2141. <script type="javascript" ev:event="DOMActivate">
  2142. <![CDATA[
  2143. fGetRsltRsrvDateTime("d");
  2144. cmb_rsltcnstlst.refresh();
  2145. ]]>
  2146. </script>
  2147. </button>
  2148. <button id="btn_rsltcnstrsrv" class="btn2_letter4" style="left:280px; top:445px; width:64px; height:19px; ">
  2149. <caption>상담예약</caption>
  2150. <script type="javascript" ev:event="DOMActivate">
  2151. <![CDATA[
  2152. fGetRsltRsrvDateTime("i");
  2153. cmb_rsltcnstlst.refresh();
  2154. ]]>
  2155. </script>
  2156. </button>
  2157. <button id="btn_saversrvinfo" class="btn5_letter6" style="left:410px; top:445px; width:86px; height:19px; ">
  2158. <caption>예약정보저장</caption>
  2159. <script type="javascript" ev:event="DOMActivate">
  2160. <![CDATA[
  2161. fSaveRsrvInfo();
  2162. ]]>
  2163. </script>
  2164. </button>
  2165. </group>
  2166. <upload id="upload1" nodeset="/root/send/attach/file" ext="zip" filecount="5" filesize="5242880" validate="true" ref="/root/send/visaphotpath/attach/file" style="left:200px; top:175px; width:100px; height:20px; "/>
  2167. <output id="output4" ref="/root/main/info/rcptinfo/cmpyaddamt" class="output_fix" format="#,###" style="left:490px; top:690px; width:86px; height:19px; text-align:right; "/>
  2168. <line id="line52" class="line_3" style="x1:313px; y1:737px; x2:1183px; y2:737px; "/>
  2169. <caption id="cap_pkguncocd" class="cell_1" style="left:831px; top:664px; width:64px; height:23px; vertical-align:middle; ">
  2170. <![CDATA[청구방법]]>
  2171. <script type="javascript" ev:event="onclick">
  2172. <![CDATA[
  2173. fPriceCheck();
  2174. ]]>
  2175. </script>
  2176. </caption>
  2177. <line id="line42" class="line_2" style="x1:313px; y1:712px; x2:898px; y2:712px; "/>
  2178. <output id="opt_discamt" ref="/root/main/info/rcptinfo/discamt" class="output_fix" visibility="visible" format="#,###" style="left:647px; top:690px; width:181px; height:19px; text-align:right; "/>
  2179. <caption id="caption84" class="cell_1" visibility="visible" style="left:831px; top:689px; width:64px; height:48px; vertical-align:middle; ">실수납액</caption>
  2180. <output id="opt_realamt" ref="/root/main/info/rcptinfo/realamt" class="font_pid" visibility="visible" format="(-,+)#,###" style="left:897px; top:672px; width:291px; height:48px; text-align:right; vertical-align:bottom; "/>
  2181. <caption id="caption76" class="cell_1" visibility="visible" style="left:580px; top:689px; width:64px; height:23px; vertical-align:middle; ">할인금액</caption>
  2182. <line id="line46" class="line_2" style="x1:313px; y1:687px; x2:895px; y2:687px; "/>
  2183. <caption id="caption54" class="cell_1" visibility="visible" style="left:313px; top:714px; width:79px; height:23px; vertical-align:middle; ">소계</caption>
  2184. <output id="opt_preamt" ref="/root/main/info/rcptinfo/preamt" class="output_fix" visibility="visible" format="#,###" style="left:1082px; top:665px; width:101px; height:19px; font-weight:bold; text-align:right; "/>
  2185. <select1 id="combo2" ref="/root/main/info/rsrvacptinfo/item/pkguncocd" class="combo_default" appearance="minimal" style="left:897px; top:664px; width:116px; height:19px; ">
  2186. <choices>
  2187. <itemset nodeset="/root/init/baseinfo/pamcdlst/uncocdlst">
  2188. <label ref="nm"/>
  2189. <value ref="cd"/>
  2190. </itemset>
  2191. </choices>
  2192. <script type="javascript" ev:event="xforms-select">
  2193. <![CDATA[
  2194. var cnt = grd_addlst.rows ;
  2195. var i = 0;
  2196. var uncocd = "";
  2197. for( i = 1; i < cnt ; i++){
  2198. uncocd = grd_addlst.valueMatrix(i, 5);
  2199. if( ( uncocd == "") || (uncocd == "-" ) ){
  2200. //grd_addlst.valueMatrix(i, 5) = cmb_pkguncocd.value ;
  2201. grd_addlst.valueMatrix(i, 5) =combo2.value ;
  2202. }
  2203. }
  2204. model.refresh();
  2205. ]]>
  2206. </script>
  2207. </select1>
  2208. <input id="ipt_ownbamt" ref="/root/main/info/rcptinfo/ownbamt" class="input_default" format="(-,+)#,###" style="left:647px; top:665px; width:181px; height:19px; text-align:right; ">
  2209. <script type="javascript" ev:event="onkeyup">
  2210. <![CDATA[
  2211. if(event.keyCode == "13") {
  2212. var tempamt = parseInt(model.getValue("/root/main/info/rcptinfo/tempamt")); // 부담금 + 미수금
  2213. var ownbamt = parseInt(ipt_ownbamt.currentText.replace(/,/g,"")); // 부담금
  2214. var uncoamt = tempamt - ownbamt;
  2215. // 변경 미수금,부담금,변경여부
  2216. model.makeValue("/root/temp/priceamt/priceamt/chngownbamt", ownbamt);
  2217. model.makeValue("/root/main/info/rcptinfo/ownbamt", ownbamt);
  2218. model.makeValue("/root/send/ownbamt", ownbamt);
  2219. model.makeValue("/root/temp/priceamt/priceamt/chnguncoamt", uncoamt);
  2220. model.makeValue("/root/temp/priceamt/priceamt/chngyn", "Y");
  2221. fSetAddAmt();
  2222. }
  2223. ]]>
  2224. </script>
  2225. <script type="javascript" ev:event="xforms-value-changed">
  2226. <![CDATA[
  2227. var tempamt = parseInt(model.getValue("/root/main/info/rcptinfo/tempamt"));
  2228. var uncoamt = parseInt(ipt_ownbamt.currentText.replace(/,/i,""));
  2229. //alert("tempamt : " + tempamt + "uncoamt" + uncoamt);
  2230. model.makeValue("/root/main/info/rcptinfo/uncoamt" , tempamt - uncoamt);
  2231. opt_uncoamt.refresh();
  2232. ]]>
  2233. </script>
  2234. </input>
  2235. <line id="line26" class="line_1" style="x1:313px; y1:658px; x2:1183px; y2:658px; "/>
  2236. <output id="opt_subtotamt" ref="/root/main/info/rcptinfo/subtotamt" class="output_fix" visibility="visible" format="#,###" style="left:395px; top:715px; width:181px; height:19px; text-align:right; "/>
  2237. <caption id="caption24" class="cell_1" style="left:313px; top:689px; width:79px; height:23px; vertical-align:middle; ">추가검사금액</caption>
  2238. <caption id="caption26" class="cell_1" style="left:580px; top:665px; width:64px; height:23px; vertical-align:middle; ">
  2239. <![CDATA[부담액]]>
  2240. <script type="javascript" ev:event="onclick">
  2241. <![CDATA[
  2242. fPriceCheck();
  2243. ]]>
  2244. </script>
  2245. </caption>
  2246. <caption id="caption59" class="cell_1" visibility="visible" style="left:1015px; top:664px; width:64px; height:23px; vertical-align:middle; ">선수금</caption>
  2247. <caption id="cap_rcpt" class="tit_2" style="left:313px; top:643px; width:79px; height:13px; ">수납내역</caption>
  2248. <output id="output1" ref="/root/main/info/rcptinfo/psnaddamt" class="output_fix" format="#,###" style="left:395px; top:690px; width:91px; height:19px; text-align:right; "/>
  2249. <caption id="caption19" class="cell_1" style="left:313px; top:664px; width:79px; height:23px; vertical-align:middle; ">패키지금액</caption>
  2250. <output id="output3" ref="/root/main/info/rcptinfo/pkgamt" class="output_fix" format="#,###" style="left:395px; top:665px; width:181px; height:19px; text-align:right; "/>
  2251. <button id="button1" class="btn_sw" group="tab" selected="true" style="left:0px; top:49px; width:60px; height:22px; ">
  2252. <caption>접수</caption>
  2253. <script type="javascript" ev:event="DOMActivate">
  2254. <![CDATA[
  2255. model.toggle("case_acpt");
  2256. //예약이 아닐시에 사용할수 없게 만듬
  2257. ipt_rsrvtm.disabled=true;
  2258. btn_totrsrvdt.disabled=true;
  2259. fGetList();
  2260. //btn_acpt.disabled = true;
  2261. model.refresh();
  2262. ]]>
  2263. </script>
  2264. </button>
  2265. <button id="btn_reex" class="btn_sw" visibility="hidden" group="tab" style="left:180px; top:49px; width:60px; height:22px; ">
  2266. <caption>재검</caption>
  2267. <script type="javascript" ev:event="DOMActivate">
  2268. <![CDATA[
  2269. model.toggle("case_reex");
  2270. //예약시 컨트롤 사용가능하게
  2271. ipt_rsrvtm.disabled=false;
  2272. btn_totrsrvdt.disabled=false;
  2273. fGetList();
  2274. //btn_acpt.disabled = false;
  2275. model.refresh();
  2276. ]]>
  2277. </script>
  2278. </button>
  2279. <button id="button4" class="btn_sw" group="tab" style="left:60px; top:49px; width:60px; height:22px; ">
  2280. <caption>취소</caption>
  2281. <script type="javascript" ev:event="DOMActivate">
  2282. <![CDATA[
  2283. model.toggle("case_cncl");
  2284. //예약이 아닐 시에 사용할 수 없게 만듬
  2285. ipt_rsrvtm.disabled=true;
  2286. btn_totrsrvdt.disabled=true;
  2287. fGetList();
  2288. //btn_acpt.disabled = false;
  2289. model.refresh();
  2290. ]]>
  2291. </script>
  2292. </button>
  2293. <switch id="swt_acptlst" style="left:0px; top:70px; width:305px; height:640px; border-color:#c7a3cf; border-style:solid; ">
  2294. <case id="case_acpt" selected="true">
  2295. <datagrid id="grd_acptlst" nodeset="/root/main/list/acptlst" allowselection="true" caption="접수일자^등록번호^한글이름^코드^유형^주민번호^주민번호^나이^성별^나이/성별^수납상태^rsrvdd^rsrvno^statflag^acptflag^cmpynm^acptdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="71, 63, 85, 97, 188, 68, 74, 30, 30, 30, 59, 30, 30, 30, 30, 30, 30, 30, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="above" style="left:5px; top:6px; width:292px; height:624px; ">
  2296. <col ref="hopedd" format="yyyy-mm-dd"/>
  2297. <col ref="pid"/>
  2298. <col ref="pnm" style="left:236px; top:23px; width:100px; height:23px; "/>
  2299. <col ref="pkgcd"/>
  2300. <col ref="pkgnm"/>
  2301. <col ref="rgstno1"/>
  2302. <col ref="rgstno2" style="left:773px; top:23px; width:74px; height:23px; "/>
  2303. <col ref="sex"/>
  2304. <col ref="age"/>
  2305. <col ref="sexage" visibility="hidden"/>
  2306. <col disabled="true" ref="rcptstat" type="combo" visibility="hidden">
  2307. <choices>
  2308. <itemset nodeset="/root/init/baseinfo/rsltlst/P0049">
  2309. <label ref="cdnm"/>
  2310. <value ref="cdid"/>
  2311. </itemset>
  2312. </choices>
  2313. </col>
  2314. <col ref="rsrvdd" visibility="hidden"/>
  2315. <col ref="rsrvno" visibility="hidden"/>
  2316. <col ref="statflag" visibility="hidden"/>
  2317. <col ref="acptflag" visibility="hidden"/>
  2318. <col ref="cmpynm" visibility="hidden"/>
  2319. <col ref="acptdttm" visibility="hidden"/>
  2320. <col ref="lastupdtrid" visibility="hidden"/>
  2321. <col ref="lastupdtdt" visibility="hidden"/>
  2322. <script type="javascript" ev:event="ondblclick">
  2323. <![CDATA[
  2324. ahafGetRsrvAcptDetlVisa(3);
  2325. fDcAmtCalc();
  2326. // 패키지 상세내역 조회
  2327. var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  2328. ahafGetPkgDetlList(PkgCd);
  2329. // 건진이력조회
  2330. var pid = model.getValue("/root/main/info/patinfo/item/pid");
  2331. if (pid != "") {
  2332. ahafGetHistList(pid);
  2333. }
  2334. model.refresh()
  2335. ]]>
  2336. </script>
  2337. <script type="javascript" ev:event="onaftersort">
  2338. <![CDATA[
  2339. grd_acptlst.gridToInstance();
  2340. ]]>
  2341. </script>
  2342. </datagrid>
  2343. </case>
  2344. <case id="case_rsrv">
  2345. <datagrid id="grd_rsrvlst" nodeset="/root/main/list/rsrvlst" caption="예약일자^등록번호^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이^성별^나이/성별^상태^rsrvdd^rsrvno^rcptstat^visano^totamt^cmpynm^rsrvdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="75, 62, 64, 88, 60, 100, 65, 68, 74, 64, 50, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:5px; width:291px; height:606px; ">
  2346. <col ref="hopedd" format="yyyy-mm-dd"/>
  2347. <col ref="pid"/>
  2348. <col ref="engnm"/>
  2349. <col ref="pnm"/>
  2350. <col ref="brthareacnts" type="combo">
  2351. <choices>
  2352. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2353. <label ref="cdnm"/>
  2354. <value ref="cdid"/>
  2355. </itemset>
  2356. </choices>
  2357. </col>
  2358. <col ref="pkgcd"/>
  2359. <col ref="pkgnm"/>
  2360. <col ref="rgstno1"/>
  2361. <col ref="rgstno2" style="left:634px; top:23px; width:74px; height:23px; "/>
  2362. <col ref="sex"/>
  2363. <col ref="age"/>
  2364. <col ref="sexage" visibility="hidden"/>
  2365. <col disabled="true" ref="statflag" type="combo">
  2366. <choices>
  2367. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  2368. <label ref="cdnm"/>
  2369. <value ref="cdid"/>
  2370. </itemset>
  2371. </choices>
  2372. </col>
  2373. <col ref="rsrvdd" visibility="hidden"/>
  2374. <col ref="rsrvno" visibility="hidden"/>
  2375. <col ref="rcptstat" visibility="hidden"/>
  2376. <col ref="visano" visibility="hidden"/>
  2377. <col ref="totamt" visibility="hidden"/>
  2378. <col ref="cmpynm" visibility="hidden"/>
  2379. <col ref="rsrvdttm" visibility="hidden"/>
  2380. <col ref="lastupdtrid" visibility="hidden"/>
  2381. <col ref="lastupdtdt" visibility="hidden"/>
  2382. <script type="javascript" ev:event="ondblclick">
  2383. <![CDATA[
  2384. ahafGetRsrvAcptDetlVisa(1);
  2385. fDcAmtCalc();
  2386. // 패키지 상세내역 조회
  2387. var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  2388. ahafGetPkgDetlList(PkgCd);
  2389. // 건진이력조회
  2390. var pid = model.getValue("/root/main/info/patinfo/item/pid");
  2391. if (pid != "") {
  2392. ahafGetHistList(pid);
  2393. }
  2394. model.refresh();
  2395. ]]>
  2396. </script>
  2397. <script type="javascript" ev:event="oncopy">
  2398. <![CDATA[
  2399. grid_oncopy();
  2400. ]]>
  2401. </script>
  2402. <script type="javascript" ev:event="onaftersort">
  2403. <![CDATA[
  2404. grd_rsrvlst.gridToInstance();
  2405. ]]>
  2406. </script>
  2407. </datagrid>
  2408. </case>
  2409. <case id="case_cncl">
  2410. <group id="group4" style="left:0px; top:3px; width:295px; height:37px; vertical-align:top; ">
  2411. <shape id="roundrect4" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:5px; top:1px; width:288px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  2412. <caption id="caption16" class="search_name" style="left:11px; top:8px; width:86px; height:17px; ">구분 :</caption>
  2413. <select1 id="rdo_cnclmode" ref="/root/init/srchmode" appearance="full" cols="4" rows="1" overflow="visible" style="left:71px; top:8px; width:188px; height:20px; border-style:none; ">
  2414. <choices>
  2415. <item>
  2416. <label>전체</label>
  2417. <value>4</value>
  2418. </item>
  2419. <item>
  2420. <label>예약취소</label>
  2421. <value>5</value>
  2422. </item>
  2423. <item>
  2424. <label>접수취소</label>
  2425. <value>6</value>
  2426. </item>
  2427. </choices>
  2428. <script type="javascript" ev:event="xforms-select">
  2429. <![CDATA[
  2430. fGetList();
  2431. ]]>
  2432. </script>
  2433. </select1>
  2434. </group>
  2435. <datagrid id="grd_cncllst" nodeset="/root/main/list/cncllst" caption="취소일시^등록번호^한글이름^코드^유형^주민번호^주민번호^나이^성별^나이/성별^rsrvdd^rsrvno^statflag^rcptstat^visano^engnm^cmpynm^cncldttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="72, 59, 84, 100, 65, 68, 74, 80, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:5px; top:45px; width:292px; height:567px; ">
  2436. <col ref="cncldd" format="yyyy-mm-dd"/>
  2437. <col ref="pid"/>
  2438. <col ref="pnm"/>
  2439. <col ref="pkgcd"/>
  2440. <col ref="pkgnm"/>
  2441. <col ref="rgstno1"/>
  2442. <col ref="rgstno2"/>
  2443. <col ref="sex"/>
  2444. <col ref="age"/>
  2445. <col ref="sexage" visibility="hidden"/>
  2446. <col ref="rsrvdd" visibility="hidden"/>
  2447. <col ref="rsrvno" visibility="hidden"/>
  2448. <col ref="statflag" visibility="hidden"/>
  2449. <col ref="rcptstat" visibility="hidden"/>
  2450. <col ref="visano" visibility="hidden"/>
  2451. <col ref="engnm" visibility="hidden"/>
  2452. <col ref="cmpynm" visibility="hidden"/>
  2453. <col ref="cncldttm" visibility="hidden"/>
  2454. <col ref="lastupdtrid" visibility="hidden"/>
  2455. <col ref="lastupdtdt" visibility="hidden"/>
  2456. <script type="javascript" ev:event="ondblclick">
  2457. <![CDATA[
  2458. ahafGetRsrvAcptDetlVisa(4);
  2459. fDcAmtCalc();
  2460. // 패키지 상세내역 조회
  2461. var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  2462. ahafGetPkgDetlList(PkgCd);
  2463. // 건진이력조회
  2464. var pid = model.getValue("/root/main/info/patinfo/item/pid");
  2465. if (pid != "") {
  2466. ahafGetHistList(pid);
  2467. }
  2468. model.refresh();
  2469. ]]>
  2470. </script>
  2471. <script type="javascript" ev:event="onaftersort">
  2472. <![CDATA[
  2473. grd_cncllst.gridToInstance();
  2474. ]]>
  2475. </script>
  2476. </datagrid>
  2477. </case>
  2478. <case id="case_reex">
  2479. <datagrid id="grd_reexlst" nodeset="/root/main/list/reexlst" allowselection="true" caption="접수일자^등록번호^비자연번^영문이름^한글이름^국가^코드^유형^주민번호^주민번호^나이^성별^나이/성별^수납상태^rsrvdd^rsrvno^statflag^acptflag^cmpynm^acptdttm^lastupdtrid^lastupdtdt" colsep="^" colwidth="71, 63, 67, 146, 85, 70, 97, 188, 68, 74, 74, 72, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" subtotalposition="above" style="left:5px; top:6px; width:292px; height:624px; ">
  2480. <col ref="hopedd" format="yyyy-mm-dd"/>
  2481. <col ref="pid"/>
  2482. <col ref="engnm"/>
  2483. <col ref="pnm"/>
  2484. <col ref="brthareacnts" type="combo">
  2485. <choices>
  2486. <itemset nodeset="/root/init/baseinfo/natiinlst/A0465">
  2487. <label ref="cdnm"/>
  2488. <value ref="cdid"/>
  2489. </itemset>
  2490. </choices>
  2491. </col>
  2492. <col ref="pkgcd"/>
  2493. <col ref="pkgnm"/>
  2494. <col ref="rgstno1"/>
  2495. <col ref="rgstno2" style="left:634px; top:23px; width:74px; height:23px; "/>
  2496. <col ref="sex"/>
  2497. <col ref="age"/>
  2498. <col ref="sexage" visibility="hidden"/>
  2499. <col disabled="true" ref="statflag" type="combo">
  2500. <choices>
  2501. <itemset nodeset="/root/init/baseinfo/statlst/A0107">
  2502. <label ref="cdnm"/>
  2503. <value ref="cdid"/>
  2504. </itemset>
  2505. </choices>
  2506. </col>
  2507. <col ref="rsrvdd" visibility="hidden"/>
  2508. <col ref="rsrvno" visibility="hidden"/>
  2509. <col ref="rcptstat" visibility="hidden"/>
  2510. <col ref="visano" visibility="hidden"/>
  2511. <col ref="totamt" visibility="hidden"/>
  2512. <col ref="cmpynm" visibility="hidden"/>
  2513. <col ref="rsrvdttm" visibility="hidden"/>
  2514. <col ref="lastupdtrid" visibility="hidden"/>
  2515. <col ref="lastupdtdt" visibility="hidden"/>
  2516. <script type="javascript" ev:event="ondblclick">
  2517. <![CDATA[
  2518. ahafGetRsrvAcptDetlVisa(1);
  2519. fDcAmtCalc();
  2520. // 패키지 상세내역 조회
  2521. var PkgCd = model.getValue("/root/main/info/rsrvacptinfo/item/pkgcd");
  2522. ahafGetPkgDetlList(PkgCd);
  2523. // 건진이력조회
  2524. var pid = model.getValue("/root/main/info/patinfo/item/pid");
  2525. if (pid != "") {
  2526. ahafGetHistList(pid);
  2527. }
  2528. model.refresh();
  2529. ]]>
  2530. </script>
  2531. <script type="javascript" ev:event="oncopy">
  2532. <![CDATA[
  2533. grid_oncopy();
  2534. ]]>
  2535. </script>
  2536. <script type="javascript" ev:event="onaftersort">
  2537. <![CDATA[
  2538. grd_rsrvlst.gridToInstance();
  2539. ]]>
  2540. </script>
  2541. </datagrid>
  2542. </case>
  2543. </switch>
  2544. <button id="button2" class="btn_sw" visibility="visible" group="tab" style="left:120px; top:49px; width:60px; height:22px; ">
  2545. <caption>예약</caption>
  2546. <script type="javascript" ev:event="DOMActivate">
  2547. <![CDATA[
  2548. model.toggle("case_rsrv");
  2549. //예약시 컨트롤 사용가능하게
  2550. ipt_rsrvtm.disabled=false;
  2551. btn_totrsrvdt.disabled=false;
  2552. fGetList();
  2553. //btn_acpt.disabled = false;
  2554. model.refresh();
  2555. ]]>
  2556. </script>
  2557. </button>
  2558. </group>
  2559. </xhtml:body>
  2560. </xhtml:html>